Skip to content

Commit 47fcf47

Browse files
✅ [#302] test: more wait_for in an attempt to reduce flakiness of e2e tests on webkit
1 parent 4e71cea commit 47fcf47

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

backend/src/openbeheer/utils/gherkin_e2e.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,9 @@ def user_logs_out(self, page: Page) -> None:
176176

177177
logout_button = page.get_by_role("button", name="Logout")
178178
logout_button.wait_for()
179+
page.wait_for_timeout(
180+
120
181+
) # ¯\_(ツ)_/¯ - Attempt to fix flakiness in WebKit
179182
logout_button.click()
180183

181184
# Navigation

0 commit comments

Comments
 (0)