fix: fill ultrawide map stage
This commit is contained in:
@@ -32,6 +32,7 @@ def test_map_first_explorer_is_the_default_product_flow() -> None:
|
||||
def test_map_rectangle_drag_is_wired_to_automatic_analysis() -> None:
|
||||
workspace = read("frontend/src/components/map/MapWorkspace.tsx")
|
||||
geomap = read("frontend/src/components/GeoMap.tsx")
|
||||
styles = read("frontend/src/styles/app.css")
|
||||
|
||||
assert "onMapBboxPreview={handleMapBboxPreview}" in workspace
|
||||
assert "onMapBboxSelect={handleMapBboxSelect}" in workspace
|
||||
@@ -45,6 +46,9 @@ def test_map_rectangle_drag_is_wired_to_automatic_analysis() -> None:
|
||||
assert "fitDataOnChangeRef.current" in geomap
|
||||
assert "map.fitBounds(bounds, { padding: 40, duration: 0 })" in geomap
|
||||
assert "resizeObserver.disconnect()" in geomap
|
||||
assert ".geo-map-canvas .map-container" in styles
|
||||
assert "position: absolute;" in styles
|
||||
assert "inset: 0;" in styles
|
||||
|
||||
|
||||
def test_dataset_detail_responses_cannot_overwrite_the_latest_map_layer() -> None:
|
||||
|
||||
Reference in New Issue
Block a user