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