mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-14 18:35:08 +01:00
Adding the sleep also to the docs workflow
This commit is contained in:
parent
2848d535bf
commit
71ef61a396
1 changed files with 5 additions and 0 deletions
|
@ -26,6 +26,11 @@ def create_user(playwright: Playwright, browser_name: str, username: str, passwo
|
|||
page.get_by_label("Account name or email").press("Tab")
|
||||
page.get_by_label("Password", exact=True).fill("Override")
|
||||
page.get_by_label("Password", exact=True).press("Enter")
|
||||
|
||||
log_note("Wait for welcome popup")
|
||||
# Sleep to make sure the modal has time to appear before continuing navigation
|
||||
sleep(5)
|
||||
|
||||
with contextlib.suppress(Exception):
|
||||
page.get_by_role("button", name="Close modal").click(timeout=15_000)
|
||||
log_note("Create user")
|
||||
|
|
Loading…
Add table
Reference in a new issue