Skip to content

Commit 0ef0f21

Browse files
committed
[#3016] ✅ FIX CI tests
1 parent b8ebb31 commit 0ef0f21

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/open_inwoner/search/tests/test_page.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,11 @@ def test_search_with_filters(self):
301301
expect(checkbox).to_be_enabled()
302302
expect(checkbox).not_to_be_checked()
303303

304-
def _click_checkbox_for_name(page, name):
304+
def _click_checkbox_for_name(page=page, name=""):
305305
# first open de <details> through the summary
306-
page.locator(".filter__title").filter(
306+
page.locator(".filter").filter(
307307
has=page.get_by_role("checkbox", name=name)
308-
).click()
308+
).locator(".filter__title").click()
309309
# our checkbox widget hides the <input> element and styles the <label> and a pseudo-element
310310
# this a problem for playwright accessibility, so we find the label for the checkbox and click on the label like a user would
311311
page.locator(".checkbox").filter(

0 commit comments

Comments
 (0)