Finish audit UI and live validation closure
This commit is contained in:
@@ -102,8 +102,9 @@ def test_detection_results_table_uses_bounded_local_pagination() -> None:
|
||||
assert "Paginering van gevonden objecten" in lab
|
||||
assert "Vorige resultatenpagina" in lab
|
||||
assert "Volgende resultatenpagina" in lab
|
||||
assert "formatSourceTilePath(detection.source_tile_path)" in lab
|
||||
assert 'title={detection.source_tile_path ?? undefined}' in lab
|
||||
assert "<th>Herkomst</th>" in lab
|
||||
assert "Luchtbeeldtegel" in lab
|
||||
assert 'title={detection.source_tile_path ?? undefined}' not in lab
|
||||
assert "pagination-toolbar" in styles
|
||||
assert ".source-tile-cell" in styles
|
||||
assert "detectionItems.map((detection)" not in lab
|
||||
|
||||
@@ -152,12 +152,17 @@ def test_frontend_lifecycle_and_component_boundaries_are_wired() -> None:
|
||||
app_source = (ROOT / "frontend/src/App.tsx").read_text(encoding="utf-8")
|
||||
project_panel = (ROOT / "frontend/src/components/project/ProjectPanel.tsx").read_text(encoding="utf-8")
|
||||
detection_lab = (ROOT / "frontend/src/components/detection/DetectionLab.tsx").read_text(encoding="utf-8")
|
||||
segmentation_lab = (ROOT / "frontend/src/components/segmentation/SegmentationLab.tsx").read_text(encoding="utf-8")
|
||||
map_workspace = (ROOT / "frontend/src/components/map/MapWorkspace.tsx").read_text(encoding="utf-8")
|
||||
premium_css = (ROOT / "frontend/src/styles/premium.css").read_text(encoding="utf-8")
|
||||
|
||||
assert "OverviewWorkspace" in app_source
|
||||
assert "onArchiveProject={archiveProject}" in app_source
|
||||
assert "DetectionModelManagement" in detection_lab
|
||||
assert "persistedDetectionModelLabel" in detection_lab
|
||||
assert "Lokaal gebouwmodel" in detection_lab
|
||||
assert "persistedSegmentationModelLabel" in segmentation_lab
|
||||
assert "Testsegmentatie" in segmentation_lab
|
||||
assert "from './mapWorkspaceUtils'" in map_workspace
|
||||
assert "Werkruimte archiveren" in project_panel
|
||||
assert "PROTECTED_PROJECT_NAMES" in project_panel
|
||||
|
||||
Reference in New Issue
Block a user