Files
fil/fixtures/smoke/ocr_image_png.json

30 lines
723 B
JSON
Raw Normal View History

2026-06-01 23:40:55 +02:00
{
"id": "ocr_image_png",
"category": "smoke",
"description": "OCR: PNG image extraction with OCR enabled. In WASM this exercises the Uint8Array bridge parameter and Promise await in the generated OcrBackend bridge.",
"tags": ["smoke", "ocr", "image", "png"],
"call": "extract_bytes",
"input": {
"data": "images/test_hello_world.png",
"mime_type": "image/png",
"config": {}
},
"assertions": [
{
"type": "equals",
"field": "mime_type",
"value": "image/png"
},
{
"type": "min_length",
"field": "content",
"value": 1
},
{
"type": "contains_any",
"field": "content",
"values": ["Hello", "World", "hello", "world"]
}
]
}