This commit is contained in:
32
fixtures/smoke/docx_basic.json
Normal file
32
fixtures/smoke/docx_basic.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user