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,31 @@
|
||||
from pathlib import Path
|
||||
from tests.frontend_contract import read_feature
|
||||
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[2]
|
||||
|
||||
|
||||
def test_dataset_workflow_selects_useful_default_dataset_after_project_load() -> None:
|
||||
hook = read_feature("datasets")
|
||||
|
||||
assert "defaultDataset" in hook
|
||||
assert "!selectedDatasetId" in hook
|
||||
assert "isVectorDatasetType(dataset.dataset_type)" in hook
|
||||
assert "loadDatasetDetails(selectedProjectId, defaultDataset)" in hook
|
||||
assert "Auto-open the first usable dataset" in hook
|
||||
|
||||
|
||||
def test_ai_labs_explain_missing_raster_input_before_disabled_runs() -> None:
|
||||
detection_lab = read_feature("detection")
|
||||
segmentation_lab = read_feature("segmentation")
|
||||
|
||||
assert "Geen luchtbeeld beschikbaar in deze werkruimte." in detection_lab
|
||||
assert "Voeg hieronder een gegeorefereerde GeoTIFF toe of haal via Kaart" in detection_lab
|
||||
assert "de synthetische demo-context wordt nooit aan een productiemodel aangeboden" in detection_lab
|
||||
assert 'aria-label="Luchtbeeld toevoegen"' in detection_lab
|
||||
assert "onUploadRaster" in detection_lab
|
||||
assert "rasterDatasets.length === 0" in detection_lab
|
||||
assert "Geen rasterbestand beschikbaar voor segmentatie." in segmentation_lab
|
||||
assert "Voeg eerst een gevalideerd rasterbestand toe onder Bronnen" in segmentation_lab
|
||||
assert "De synthetische demo-context blijft bewust uitgesloten" in segmentation_lab
|
||||
assert "rasterDatasets.length === 0" in segmentation_lab
|
||||
Reference in New Issue
Block a user