mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-15 19:05:09 +01:00
Longer sleep and 2nd welcome screen handling
This commit is contained in:
parent
f7cb18f4bb
commit
ee1014465f
1 changed files with 5 additions and 1 deletions
|
@ -42,13 +42,17 @@ def create_conversation(playwright: Playwright, browser_name: str) -> str:
|
||||||
# Wait for the modal to load. As it seems you can't close it while it is showing the opening animation.
|
# Wait for the modal to load. As it seems you can't close it while it is showing the opening animation.
|
||||||
log_note("Close first-time run popup")
|
log_note("Close first-time run popup")
|
||||||
with contextlib.suppress(Exception):
|
with contextlib.suppress(Exception):
|
||||||
sleep(3)
|
sleep(5)
|
||||||
page.get_by_role("button", name="Close modal").click(timeout=15_000)
|
page.get_by_role("button", name="Close modal").click(timeout=15_000)
|
||||||
|
|
||||||
log_note("Open Talk app")
|
log_note("Open Talk app")
|
||||||
page.get_by_role("link", name="Talk", exact=True).click()
|
page.get_by_role("link", name="Talk", exact=True).click()
|
||||||
page.wait_for_url("**/apps/spreed/")
|
page.wait_for_url("**/apps/spreed/")
|
||||||
|
|
||||||
|
# Second welcome screen?
|
||||||
|
with contextlib.suppress(Exception):
|
||||||
|
page.get_by_role("button", name="Close modal").click(timeout=15_000)
|
||||||
|
|
||||||
# Headless browsers trigger a warning in Nextcloud, however they actually work fine
|
# Headless browsers trigger a warning in Nextcloud, however they actually work fine
|
||||||
if headless:
|
if headless:
|
||||||
log_note("Close headless warning")
|
log_note("Close headless warning")
|
||||||
|
|
Loading…
Add table
Reference in a new issue