GeoIntel release gates / Compile, test, contracts and builds (push) Successful in 1m49s
GeoIntel release gates / Python and npm vulnerability policy (push) Successful in 21s
GeoIntel release gates / Production AI image, SBOM and container scan (push) Successful in 5m39s
GeoIntel release gates / Deploy exact gated revision to Unraid (push) Failing after 58m43s
28 lines
1.1 KiB
Python
28 lines
1.1 KiB
Python
from pathlib import Path
|
|
|
|
|
|
ROOT = Path(__file__).resolve().parents[2]
|
|
|
|
|
|
def test_ai_handoff_interaction_smoke_is_registered_and_clicks_both_handoffs() -> None:
|
|
script_path = ROOT / "scripts" / "verify_ai_handoff_interactions.sh"
|
|
readiness = (ROOT / "scripts" / "run_readiness_check.sh").read_text(encoding="utf-8")
|
|
|
|
assert script_path.exists()
|
|
script = script_path.read_text(encoding="utf-8")
|
|
|
|
assert "bash -n scripts/verify_ai_handoff_interactions.sh" in readiness
|
|
assert "Playwright is required for AI handoff interaction verification" in script
|
|
assert "/api/v1/demo/workflow" in script
|
|
assert "/raster/tile" in script
|
|
assert "data.raster_dataset_id" in script
|
|
assert "manifest_path" in script
|
|
assert "workspace-nav-data" in script
|
|
assert "workspace-nav-ai" in script
|
|
assert "Use in Detection Lab" in script
|
|
assert "Use in Segmentation Lab" in script
|
|
assert "yolo-configured" in script
|
|
assert "detection model handoff mismatch" in script
|
|
assert "Raster tile manifest path" in script
|
|
assert "AI handoff interaction verification passed" in script
|