From 165c37035d64c15207ff6dbf16f502f3c9dc74c8 Mon Sep 17 00:00:00 2001 From: robinvandermolen Date: Wed, 15 Jan 2025 12:40:37 +0100 Subject: [PATCH] ::white_check_mark:: [#2177] Fixed form designer tests 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' --- src/openforms/forms/tests/e2e_tests/test_form_designer.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/openforms/forms/tests/e2e_tests/test_form_designer.py b/src/openforms/forms/tests/e2e_tests/test_form_designer.py index 685c5553c6..52f2521b7f 100644 --- a/src/openforms/forms/tests/e2e_tests/test_form_designer.py +++ b/src/openforms/forms/tests/e2e_tests/test_form_designer.py @@ -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() @@ -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()