diff --git a/tests/e2e/utils.py b/tests/e2e/utils.py index 7092ac4e9..567611116 100644 --- a/tests/e2e/utils.py +++ b/tests/e2e/utils.py @@ -7,6 +7,7 @@ from sys import stderr from time import sleep from typing import Any, Callable, Optional +from django.apps import apps from django.contrib.staticfiles.testing import StaticLiveServerTestCase from django.db import connection from django.db.migrations.loader import MigrationLoader @@ -71,6 +72,7 @@ class SeleniumTestCase(DockerTestCase, StaticLiveServerTestCase): if IS_CI: print("::group::authentik Logs", file=stderr) super().setUp() + apps.get_app_config("authentik_tenants").reconcile() self.wait_timeout = 60 self.driver = self._get_driver() self.driver.implicitly_wait(30)