Skip to content

Commit

Permalink
Merge pull request #18833 from mvdbeek/maybe_fix_flaky_navigation_v2_…
Browse files Browse the repository at this point in the history
…ts_tests

[24.1] Maybe fix flaky navigation v2 ts tests
  • Loading branch information
mvdbeek authored Sep 18, 2024
2 parents a567944 + 2b4b7ed commit 43a2845
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tool_shed/test/base/playwrightbrowser.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ def logout_if_logged_in(self, assert_logged_out=True):
logout_locator = self._page.locator(Locators.toolbar_logout)
if logout_locator.is_visible():
logout_locator.click()
self._page.wait_for_load_state("networkidle")
if assert_logged_out:
self.expect_not_logged_in()

Expand Down

0 comments on commit 43a2845

Please sign in to comment.