Label Flemish scope datasets correctly
This commit is contained in:
@@ -322,3 +322,14 @@ def test_frontend_bounds_large_area_and_dataset_catalogs() -> None:
|
||||
assert "visiblePrimaryDatasets.map" in dataset_panel
|
||||
assert "Zoek in beschikbare bronnen" in dataset_panel
|
||||
assert "{historyOpen ? <ul" in dataset_panel
|
||||
|
||||
|
||||
def test_frontend_labels_flanders_scope_without_kempen_mislabeling() -> None:
|
||||
dataset_display = (
|
||||
ROOT / "frontend" / "src" / "lib" / "datasetDisplay.ts"
|
||||
).read_text(encoding="utf-8")
|
||||
|
||||
assert "coverageScope === 'flanders' && layer === 'regional_boundary'" in dataset_display
|
||||
assert "'Grens Vlaanderen'" in dataset_display
|
||||
assert "coverageScope === 'flanders' && layer === 'municipality_boundaries'" in dataset_display
|
||||
assert "'Gemeentegrenzen Vlaanderen'" in dataset_display
|
||||
|
||||
Reference in New Issue
Block a user