Files
geointel/backend/tests/test_sprint99_raster_ui_handoff.py
Jens faeb58ef6d
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
Initial public release
2026-08-31 21:56:53 +02:00

27 lines
1.2 KiB
Python

from pathlib import Path
from tests.frontend_contract import read_feature
ROOT = Path(__file__).resolve().parents[2]
def test_raster_tile_manifest_is_visible_and_can_handoff_to_detection_lab() -> None:
app = read_feature("shell")
hook = read_feature("datasets")
detail_panel = read_feature("datasets")
raster_controls = read_feature("datasets")
assert "latestRasterTileManifestPath" in hook
assert "extractRasterTileManifestPath" in hook
assert "setLatestRasterTileManifestPath(manifestPath)" in hook
assert "latestRasterTileManifestPath," in app
assert "onUseTileManifestForDetection: useRasterTileManifestForDetection" in app
assert "setDetectionTileManifestPath(manifestPath)" in app
assert "setSelectedDetectionDatasetId(selectedDataset.id)" in app
assert "setSelectedDetectionModelId('yolo-configured')" in app
assert "latestRasterTileManifestPath" in detail_panel
assert "onUseTileManifestForDetection" in detail_panel
assert "Laatste beeldtegelmanifest" in raster_controls
assert "Gebruik voor gebouwdetectie" in raster_controls
assert "disabled={!latestRasterTileManifestPath}" in raster_controls