Skip to content

Commit

Permalink
fix picto tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jschleic committed Dec 9, 2023
1 parent 20bbbba commit 259a002
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions umap/tests/integration/test_picto.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def test_can_use_remote_url_as_picto(map, live_server, page, pictos):
input_el.blur()
expect(marker).to_have_attribute("src", "https://foo.bar/img.jpg")
# Now close and reopen the form, it should still be the URL tab
close = page.locator("#umap-ui-container").get_by_title("Close")
close = page.locator("#umap-ui-container .toolbox").get_by_title("Close")
expect(close).to_be_visible()
close.click()
edit_settings.click()
Expand Down Expand Up @@ -205,7 +205,7 @@ def test_can_use_char_as_picto(map, live_server, page, pictos):
expect(marker).to_have_count(1)
expect(marker).to_have_text("♩")
# Now close and reopen the form, it should still be the URL tab
close = page.locator("#umap-ui-container").get_by_title("Close")
close = page.locator("#umap-ui-container .toolbox").get_by_title("Close")
expect(close).to_be_visible()
close.click()
edit_settings.click()
Expand Down

0 comments on commit 259a002

Please sign in to comment.