33 lines
716 B
JSON
33 lines
716 B
JSON
|
|
{
|
||
|
|
"id": "smoke_html_basic",
|
||
|
|
"category": "smoke",
|
||
|
|
"description": "Smoke test: HTML table extraction",
|
||
|
|
"tags": ["smoke", "html"],
|
||
|
|
"input": {
|
||
|
|
"path": "html/simple_table.html",
|
||
|
|
"mime_type": "text/html",
|
||
|
|
"config": {}
|
||
|
|
},
|
||
|
|
"assertions": [
|
||
|
|
{
|
||
|
|
"type": "equals",
|
||
|
|
"field": "mime_type",
|
||
|
|
"value": "text/html"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "min_length",
|
||
|
|
"field": "content",
|
||
|
|
"value": 10
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "contains_any",
|
||
|
|
"field": "content",
|
||
|
|
"values": ["Sample Data Table", "Laptop", "Electronics", "Product"]
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"skip": {
|
||
|
|
"languages": ["wasm"],
|
||
|
|
"reason": "WASM cannot access filesystem; use extractBytes with file content instead"
|
||
|
|
}
|
||
|
|
}
|