Files
harness-tools/extensions/fast-browser/scenarios/examples/local-form.json
T
jb fd63b0ccec
fast-browser scenarios / Offline scenario contract tests (push) Failing after 44s
fast-browser scenarios / Local Chromium headless scenarios (push) Failing after 23s
fast-browser-with-jev
2026-09-20 12:24:08 -04:00

58 lines
1.4 KiB
JSON

{
"version": 1,
"id": "local-form",
"description": "Offline exact-name form smoke test against the disposable fixture.",
"fixture": {
"baseUrl": "http://127.0.0.1:8765",
"server": {
"mode": "managed",
"start": { "command": "python3", "args": ["-m", "http.server", "8765", "--bind", "127.0.0.1", "--directory", "extensions/fast-browser/fixtures"], "cwd": "." },
"readiness": { "url": "http://127.0.0.1:8765/form.html", "expectedStatus": 200 }
}
},
"settings": {
"allowedOrigins": ["http://127.0.0.1:8765"],
"browser": {
"mode": "launch",
"product": "chromium",
"headless": true,
"startUrl": "http://127.0.0.1:8765/form.html"
}
},
"hooks": {
"reset": {
"argv": ["node", "extensions/fast-browser/scenarios/examples/reset-local-fixture.mjs"],
"cwd": ".",
"env": {
"FAST_BROWSER_FIXTURE_MODE": {"env": "FAST_BROWSER_FIXTURE_MODE"}
},
"timeoutMs": 2000
}
},
"operations": [
{
"op": "step",
"step": {
"instruction": "Display name",
"action": "fill",
"text": "Ada"
}
},
{
"op": "step",
"step": {
"instruction": "Continue",
"action": "click",
"postcondition": {
"kind": "text",
"value": "Fixture complete"
}
}
}
],
"evidence": {
"onFailure": true,
"onRequest": false
}
}