diff --git a/src/tests_authentik/fixtures_authentik.py b/src/tests_authentik/fixtures_authentik.py index 94af38f..d4c21c8 100644 --- a/src/tests_authentik/fixtures_authentik.py +++ b/src/tests_authentik/fixtures_authentik.py @@ -16,8 +16,8 @@ def authentik_admin_context(context: BrowserContext, DIR: DirManager) -> Browser @pytest.fixture -def authentik_admin_page(admin_context: BrowserContext, DIR: DirManager) -> Page: - page = admin_context.new_page() +def authentik_admin_page(authentik_admin_context: BrowserContext, DIR: DirManager) -> Page: + page = authentik_admin_context.new_page() env_file = DIR.ENV_FILES / "authentik" config: dict[str, str] = dotenv_values(env_file) # type: ignore url = "https://" + config["DOMAIN"] @@ -34,8 +34,8 @@ def authentik_user_context(context: BrowserContext, DIR: DirManager) -> BrowserC @pytest.fixture -def authentik_user_page(user_context: BrowserContext, DIR: DirManager) -> Page: - page = user_context.new_page() +def authentik_user_page(authentik_user_context: BrowserContext, DIR: DirManager) -> Page: + page = authentik_user_context.new_page() env_file = DIR.ENV_FILES / "authentik" config: dict[str, str] = dotenv_values(env_file) # type: ignore url = "https://" + config["DOMAIN"]