mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
tests: try to fix randomly failing test test_should_honour_fromZoom
This commit is contained in:
parent
710b0cf1d9
commit
34f00dfec1
1 changed files with 1 additions and 2 deletions
|
@ -41,7 +41,7 @@ def test_should_honour_fromZoom(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")
|
||||
markers = page.locator(".leaflet-marker-icon")
|
||||
page.wait_for_timeout(500)
|
||||
expect(markers).to_be_visible()
|
||||
page.get_by_label("Zoom out").click()
|
||||
expect(markers).to_be_hidden()
|
||||
|
@ -57,7 +57,6 @@ 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")
|
||||
markers = page.locator(".leaflet-marker-icon")
|
||||
expect(markers).to_be_visible()
|
||||
page.get_by_label("Zoom out").click()
|
||||
expect(markers).to_be_visible()
|
||||
|
|
Loading…
Reference in a new issue