diff --git a/scripts/browser_e2e.py b/scripts/browser_e2e.py index 43eb9e9..467a09c 100644 --- a/scripts/browser_e2e.py +++ b/scripts/browser_e2e.py @@ -352,6 +352,7 @@ def activate_ready_example(page: Page) -> None: ) button = page.locator("#use-ready-example") try: + button.wait_for(state="visible") assert button.is_visible(), "ready-example button is not visible" assert button.is_enabled(), "ready-example button is not enabled" button.click()