Add workbench default state smoke
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user