mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-19 18:36:09 +02:00
Closing welcome popup
This commit is contained in:
parent
52a4e7931a
commit
f64362b41e
3 changed files with 3 additions and 3 deletions
|
@ -35,7 +35,7 @@ def run(playwright: Playwright, browser_name: str) -> None:
|
|||
page.get_by_role("button", name="Create a new file with the selected template").click()
|
||||
sleep(5)
|
||||
with contextlib.suppress(TimeoutError):
|
||||
page.locator('button.first-run-wizard__close-button').click(timeout=15_000)
|
||||
page.locator('#firstrunwizard .modal-container__content button[aria-label=Close]').click(timeout=15_000)
|
||||
page.keyboard.press("Escape")
|
||||
log_note("Share file with other user")
|
||||
page.get_by_role("link", name="colab_meeting .md").get_by_role("link", name="Share").click()
|
||||
|
|
|
@ -45,7 +45,7 @@ def collaborate(playwright: Playwright, browser_name: str) -> None:
|
|||
log_note("Opening document with both users")
|
||||
with contextlib.suppress(TimeoutError):
|
||||
sleep(5)
|
||||
docs_user.locator('button.first-run-wizard__close-button').click(timeout=15_000)
|
||||
docs_user.locator('#firstrunwizard .modal-container__content button[aria-label=Close]').click(timeout=15_000)
|
||||
admin_user.get_by_role("link", name="Files", exact=True).click()
|
||||
docs_user.get_by_role("link", name="Files", exact=True).click()
|
||||
admin_user.get_by_role("link", name="Shares", exact=True).click()
|
||||
|
|
|
@ -45,7 +45,7 @@ def create_conversation(playwright: Playwright, browser_name: str) -> str:
|
|||
log_note("Close first-time run popup")
|
||||
with contextlib.suppress(TimeoutError):
|
||||
sleep(5)
|
||||
page.locator('button.first-run-wizard__close-button').click(timeout=15_000)
|
||||
page.locator('#firstrunwizard .modal-container__content button[aria-label=Close]').click(timeout=15_000)
|
||||
|
||||
log_note("Open Talk app")
|
||||
page.locator('#header').get_by_role("link", name="Talk", exact=True).click()
|
||||
|
|
Loading…
Add table
Reference in a new issue