Skip to content

Commit

Permalink
Attempt to fix a flaky playwright test (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Karetnikov authored Nov 7, 2023
1 parent eef90e0 commit 34903d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/playwright/test_ux.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ def _existing_environment_interactions(page, env_name, time_to_build_env=3*60*10
page.get_by_text("Delete environment").click()
page.get_by_role("button", name="Delete").click()

time.sleep(5) # wait for it to render, flaky otherwise
assert not page.get_by_role("button", name=env_name).is_visible()


Expand Down Expand Up @@ -322,4 +323,4 @@ def test_integration(page: Page, test_config, screenshot):
_existing_environment_interactions(page, env_name, screenshot=screenshot)

browser.close()
playwright.stop()
playwright.stop()

0 comments on commit 34903d4

Please sign in to comment.