mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
chore: fix failing test
This commit is contained in:
parent
02dd29a55f
commit
2b2a63fe29
1 changed files with 2 additions and 2 deletions
|
@ -39,8 +39,8 @@ def test_should_open_popup_on_click(live_server, map, page, bootstrap):
|
|||
expect(page.locator(".leaflet-popup-content-wrapper")).to_be_visible()
|
||||
expect(page.get_by_role("heading", name="test marker")).to_be_visible()
|
||||
expect(page.get_by_text("Some description")).to_be_visible()
|
||||
# Close popup
|
||||
page.locator("#map").click()
|
||||
# Close popup, clicking on the map, but outside of the popup.
|
||||
page.locator("#map").click(position={"x": 50, "y": 50})
|
||||
expect(page.locator(".umap-icon-active")).to_be_hidden()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue