Add workbench default state smoke
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled

This commit is contained in:
Codex
2026-06-17 18:44:51 +02:00
parent db88d9bec6
commit 7c4de36c58
7 changed files with 239 additions and 1 deletions
+15
View File
@@ -20,6 +20,7 @@ def test_readiness_gate_checks_demo_export_workflow_script_syntax() -> None:
content = script.read_text(encoding="utf-8")
assert "bash -n scripts/verify_demo_export_workflow.sh" in content
assert "bash -n scripts/verify_workbench_default_state.sh" in content
def test_readiness_gate_runs_golden_qa_benchmark() -> None:
@@ -67,6 +68,20 @@ def test_demo_export_workflow_script_verifies_export_endpoints() -> None:
assert "/download" in content
def test_workbench_default_state_script_verifies_populated_demo_start_state() -> None:
script = Path(__file__).resolve().parents[2] / "scripts" / "verify_workbench_default_state.sh"
content = script.read_text(encoding="utf-8")
assert "/api/v1/demo/workflow" in content
assert "GeoIntel Demo - Building QA" in content
assert "/areas" in content
assert "/datasets" in content
assert "/quality-checks" in content
assert "data.items" in content
assert "Demo AOI - Geel buildings" in content
assert "2/2 ready" in content
def test_pass_end_check_excludes_vendor_and_build_outputs() -> None:
script = Path(__file__).resolve().parents[2] / "scripts" / "codex_pass_end_check.sh"
content = script.read_text(encoding="utf-8")