Publish curated GeoIntel source snapshot
This commit is contained in:
commit
0aae654d6e
764 files changed
+169154
No files matched your search
@@ -0,0 +1,29 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from pathlib import Path
|
||||
from tests.frontend_contract import read_feature
|
||||
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[2]
|
||||
|
||||
|
||||
def test_map_workspace_exposes_layer_provenance_and_feature_summary() -> None:
|
||||
app = read_feature("shell")
|
||||
map_workspace = read_feature("map_workspace")
|
||||
css = (ROOT / "frontend" / "src" / "styles" / "app.css").read_text(encoding="utf-8")
|
||||
|
||||
assert "mapLayerSourceLabel" in app
|
||||
assert "mapLayerProvenance" in app
|
||||
assert "layer-provenance-rail" in map_workspace
|
||||
assert "feature-summary-grid" in map_workspace
|
||||
assert "feature-property-chip" in map_workspace
|
||||
assert ".layer-provenance-rail" in css
|
||||
assert ".feature-summary-grid" in css
|
||||
assert ".feature-property-chip" in css
|
||||
|
||||
|
||||
def test_map_workspace_has_clear_empty_result_layer_guidance() -> None:
|
||||
map_workspace = read_feature("map_workspace")
|
||||
|
||||
assert "Geen actieve vector- of resultaatlaag" in map_workspace
|
||||
assert "Open een databron, beeldanalyse, segmentatie of veranderingsresultaat om het hier te tekenen." in map_workspace
|
||||
Reference in new issue
Block a user