disable cleanup for now, unclear what it does
This commit is contained in:
parent
ca974d9024
commit
f270f3d4a9
2 changed files with 6 additions and 3 deletions
|
|
@ -1,9 +1,12 @@
|
|||
import pytest
|
||||
from playwright.sync_api import BrowserContext, expect
|
||||
|
||||
# todo: what is this test for, why is it a fixture? -> ignore for now
|
||||
|
||||
|
||||
@pytest.fixture(scope="session", autouse=True)
|
||||
def delete_nextcloud_user(browser: Browser):
|
||||
"""Delete Nextcloud Account"""
|
||||
def delete_nextcloud_user(admin_context: BrowserContext):
|
||||
"""Delete Nextcloud User"""
|
||||
yield
|
||||
context = setup_context(browser, f"{STATES}/admin_state.json")
|
||||
page = context.new_page()
|
||||
|
|
|
|||
|
|
@ -11,6 +11,6 @@ class RunnerNextcloud(Runner):
|
|||
test_dir_name: str = "tests_nextcloud"
|
||||
main_setup_name = "setup_nextcloud.py"
|
||||
main_test_name = "tests_nextcloud.py"
|
||||
main_cleanup_name = "cleanup_nextcloud.py"
|
||||
# main_cleanup_name = "cleanup_nextcloud.py"
|
||||
dependencies = [RunnerAuthentik]
|
||||
sub_tests: list[SubTest] = [SubTest(condition=fake_condition, test_file="tests_nextcloud_onlyoffice.py")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue