33 lines
826 B
JSON
33 lines
826 B
JSON
{
|
|
"id": "smoke_docx_basic",
|
|
"category": "smoke",
|
|
"description": "Smoke test: DOCX with formatted text",
|
|
"tags": ["smoke", "office", "docx"],
|
|
"input": {
|
|
"path": "docx/fake.docx",
|
|
"mime_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
"config": {}
|
|
},
|
|
"assertions": [
|
|
{
|
|
"type": "equals",
|
|
"field": "mime_type",
|
|
"value": "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
},
|
|
{
|
|
"type": "min_length",
|
|
"field": "content",
|
|
"value": 20
|
|
},
|
|
{
|
|
"type": "contains_any",
|
|
"field": "content",
|
|
"values": ["Lorem", "ipsum", "document", "text"]
|
|
}
|
|
],
|
|
"skip": {
|
|
"languages": ["wasm"],
|
|
"reason": "WASM cannot access filesystem; use extractBytes with file content instead"
|
|
}
|
|
}
|