Initial public release
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
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
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
from pathlib import Path
|
||||
from tests.frontend_contract import read_feature
|
||||
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[2]
|
||||
|
||||
|
||||
def test_guided_calibration_rows_link_to_existing_qa_evidence_map() -> None:
|
||||
lab = ROOT / "frontend" / "src" / "components" / "detection" / "DetectionLab.tsx"
|
||||
todo = ROOT / "docs" / "TODO.md"
|
||||
|
||||
lab_source = lab.read_text(encoding="utf-8")
|
||||
app_source = read_feature("shell")
|
||||
todo_source = todo.read_text(encoding="utf-8")
|
||||
|
||||
assert "onOpenCalibrationEvidence" in lab_source
|
||||
assert "Toon kaartbewijs" in lab_source
|
||||
assert "disabled={!row.quality_check_id || row.status !== 'success'}" in lab_source
|
||||
assert "onOpenCalibrationEvidence(row.quality_check_id)" in lab_source
|
||||
assert "Evidence" in lab_source
|
||||
assert "quality_check_id" in lab_source
|
||||
|
||||
assert "onOpenCalibrationEvidence={openQualityEvidenceOnMap}" in app_source
|
||||
assert "[x] Link guided calibration rows to the QA evidence map" in todo_source
|
||||
Reference in New Issue
Block a user