test(sync): WIP

This commit is contained in:
Alexis Métaireau 2024-05-16 13:47:22 +02:00
parent cb54cbb4ab
commit f115e75976
No known key found for this signature in database
GPG key ID: 1C21B876828E5FF2

View file

@ -149,6 +149,12 @@ def test_websocket_connection_can_sync_polygons(
peerA.get_by_role("link", name="Delete this feature").click() peerA.get_by_role("link", name="Delete this feature").click()
expect(a_polygons).to_have_count(0) expect(a_polygons).to_have_count(0)
expect(b_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( def test_websocket_connection_can_sync_map_properties(