Add AI handoff browser smoke
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
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 "Raster tile manifest path" in script
|
||||
assert "AI handoff interaction verification passed" in script
|
||||
Reference in New Issue
Block a user