chore: fix translated test

This commit is contained in:
Yohan Boniface 2024-06-14 20:51:29 +02:00
parent b747b347f4
commit 99595e3e2f

View file

@ -40,8 +40,7 @@ def test_javascript_have_been_loaded(
expect(page).to_have_url(re.compile(r".*#7/48\..+/13\..+"))
expect(page).to_have_url(re.compile(r".*/fr/"))
# Should be in French, so hashed locale file has been loaded correctly
# FIXME when labels are chosen and translations pulled from transifex
button = page.get_by_role("button", name="Open browser")
button = page.get_by_role("button", name="Explorateur")
expect(button).to_be_visible()
button.click()
layers = page.locator(".umap-browser .datalayer")