diff --git a/umap/tests/integration/test_owned_map.py b/umap/tests/integration/test_owned_map.py index abdc7175..d197ff0d 100644 --- a/umap/tests/integration/test_owned_map.py +++ b/umap/tests/integration/test_owned_map.py @@ -249,8 +249,3 @@ def test_can_delete_datalayer(live_server, map, login, datalayer): expect(markers).to_have_count(0) # FIXME does not work, resolve to 1 element, even if this command is empty: expect(layers).to_have_count(0) - - -def test_something(live_server, map, login, user): - page = login(user) - page.goto(f"{live_server.url}/map/{map.id}/ws-token") diff --git a/umap/tests/integration/test_websocket_sync.py b/umap/tests/integration/test_websocket_sync.py index 9654004c..485f0b05 100644 --- a/umap/tests/integration/test_websocket_sync.py +++ b/umap/tests/integration/test_websocket_sync.py @@ -149,6 +149,12 @@ def test_websocket_connection_can_sync_polygons( peerA.get_by_role("link", name="Delete this feature").click() expect(a_polygons).to_have_count(0) expect(b_polygons).to_have_count(0) + # Add properties / option and check + # Map: everything is in properties (in geojson, but in options in the JS) + # Datalayer: everything is in options, but stored in `_umap_options` on the datalayer object + # Features: properties are not limited (that's data). Everything is in properties. + # In properties there is _umap_option, to store everythign that's not user data. + # FIXME Save and check def test_websocket_connection_can_sync_map_properties(