From c0aef1302177b8a3efff64b49fd8cec789ece62b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Wed, 23 Oct 2024 16:17:05 +0200 Subject: [PATCH] tests: Add a small delay in the tests after right click. Otherwise, the test is sometimes flaky and fails. --- 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 83f49e32..1b5972cc 100644 --- a/umap/tests/integration/test_websocket_sync.py +++ b/umap/tests/integration/test_websocket_sync.py @@ -267,7 +267,7 @@ def test_websocket_connection_can_sync_cloned_polygons( b_polygon = peerB.locator("path") # Clone on peer B and save - b_polygon.click(button="right") + b_polygon.click(button="right", delay=200) peerB.get_by_role("button", name="Clone this feature").click() expect(peerB.locator("path")).to_have_count(2)