From dd5145142327fdbd677cd145188ea60abf919970 Mon Sep 17 00:00:00 2001 From: David Larlet Date: Fri, 14 Jun 2024 16:18:03 -0400 Subject: [PATCH] tests: fix randomly failing test on the CI toZoom --- umap/tests/integration/test_datalayer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/umap/tests/integration/test_datalayer.py b/umap/tests/integration/test_datalayer.py index af92d3327..fc57c6dc0 100644 --- a/umap/tests/integration/test_datalayer.py +++ b/umap/tests/integration/test_datalayer.py @@ -57,6 +57,7 @@ def test_should_honour_toZoom(live_server, map, datalayer, page): markers = page.locator(".leaflet-marker-icon") expect(markers).to_be_hidden() page.goto(f"{live_server.url}{map.get_absolute_url()}#6/48.55/14.68") + page.wait_for_timeout(500) expect(markers).to_be_visible() page.get_by_label("Zoom out").click() expect(markers).to_be_visible()