From fb4fecd337538b32b4f5930c0b4a646f293c48ba Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Thu, 9 Jan 2025 13:00:59 +0100 Subject: [PATCH] chore(tests): fix sync tests --- umap/tests/integration/test_websocket_sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/tests/integration/test_websocket_sync.py b/umap/tests/integration/test_websocket_sync.py index 3516ddb8..53c063d6 100644 --- a/umap/tests/integration/test_websocket_sync.py +++ b/umap/tests/integration/test_websocket_sync.py @@ -280,7 +280,7 @@ def test_websocket_connection_can_sync_cloned_polygons( peerB.locator("path").nth(1).drag_to(b_map_el, target_position={"x": 400, "y": 400}) peerB.locator("path").nth(1).click() peerB.locator("summary").filter(has_text="Shape properties").click() - peerB.locator(".header > a:nth-child(2)").first.click() + peerB.locator(".umap-field-color button.define").first.click() peerB.get_by_title("Orchid", exact=True).first.click() peerB.locator("#map").press("Escape") peerB.get_by_role("button", name="Save").click()