refactor for independent test dirs #7

Merged
dan merged 49 commits from independent-test-dirs into dev 2023-12-05 21:41:46 +01:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 6f51dc6766 - Show all commits

View file

@ -15,7 +15,7 @@ def setup_nextcloud_admin_session(authentik_admin_page: Page, DIR: DirManager):
page_nextcloud = event_context.value
context = page_nextcloud.context
context.storage_state(path=f"{DIR.STATES}/nextcloud_admin_state.json")
context.storage_state(path=DIR.STATES / "nextcloud_admin_state.json")
page_nextcloud.goto("/apps/files")
expect(page_nextcloud.get_by_role("link", name="Name")).to_be_visible()

View file

@ -25,4 +25,4 @@ def setup_wordpress_admin_session(authentik_admin_page: Page, DIR: DirManager):
expect(page_wordpress.locator("#wpadminbar")).to_be_visible()
# save session
context = page_wordpress.context
context.storage_state(path=f"{DIR.STATES}/wordpress_admin_state.json")
context.storage_state(path=DIR.STATES / "wordpress_admin_state.json")