Skip to content

Commit

Permalink
::white_check_mark:: [#2177] Fixed form designer tests
Browse files Browse the repository at this point in the history
The form designer configuration for the map component has changed a bit.
So are the map specific settings moved to the 'Map settings' tab. Also, the label for initial lat/lng settings has been changed to 'Initial focus'
  • Loading branch information
robinmolen committed Jan 15, 2025
1 parent 29f086f commit 165c370
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/openforms/forms/tests/e2e_tests/test_form_designer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1544,7 +1544,8 @@ def setUpTestData():
await page.get_by_role("tab", name="Steps and fields").click()

await open_component_options_modal(page, "Map 1", exact=True)
await page.get_by_role("button", name="Map configuration").click()
await page.get_by_role("tab", name="Map settings").click()
await page.get_by_role("button", name="Initial focus").click()
# both fields are required so we clear one.
await page.get_by_label("Latitude").clear()

Expand Down Expand Up @@ -1595,7 +1596,8 @@ def setUpTestData():
await page.get_by_role("tab", name="Steps and fields").click()

await open_component_options_modal(page, "Map 1", exact=True)
await page.get_by_role("button", name="Map configuration").click()
await page.get_by_role("tab", name="Map settings").click()
await page.get_by_role("button", name="Initial focus").click()
# both fields are required so we clear one.
await page.get_by_label("Longitude").clear()

Expand Down

0 comments on commit 165c370

Please sign in to comment.