Publish curated GeoIntel source snapshot
This commit is contained in:
commit
0aae654d6e
764 files changed
+169154
No files matched your search
@@ -0,0 +1,18 @@
|
||||
from pathlib import Path
|
||||
from tests.frontend_contract import read_feature
|
||||
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[2]
|
||||
|
||||
|
||||
def test_map_source_mode_keeps_database_layers_distinct_from_analysis_results() -> None:
|
||||
app = read_feature("shell")
|
||||
workspace = read_feature("map_workspace")
|
||||
|
||||
assert "const [mapContentMode, setMapContentMode]" in app
|
||||
assert "mapContentMode === 'analysis' && analysisMapLayerAvailable" in app
|
||||
assert "setMapContentMode('dataset')" in app
|
||||
assert 'aria-label="Bron van de kaartinhoud"' in workspace
|
||||
assert "onSetMapContentMode('dataset')" in workspace
|
||||
assert "onSetMapContentMode('analysis')" in workspace
|
||||
assert "disabled={!analysisLayerAvailable}" in workspace
|
||||
Reference in new issue
Block a user