From 1ce7ca2b2623420777418448fd69def1b6068750 Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Tue, 21 Nov 2023 19:15:16 +0100 Subject: [PATCH] try fixing e2e tests Signed-off-by: Marc 'risson' Schmitt --- tests/e2e/utils.py | 2 ++ 1 file changed, 2 insertions(+) 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)