From f115e75976277542ef2d04b8e2e0a7d19505efd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Thu, 16 May 2024 13:47:22 +0200 Subject: [PATCH] test(sync): WIP --- umap/tests/integration/test_websocket_sync.py | 6 ++++++ 1 file changed, 6 insertions(+) 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(