try fixing e2e tests
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
parent
5cd6791739
commit
1ce7ca2b26
|
@ -7,6 +7,7 @@ from sys import stderr
|
||||||
from time import sleep
|
from time import sleep
|
||||||
from typing import Any, Callable, Optional
|
from typing import Any, Callable, Optional
|
||||||
|
|
||||||
|
from django.apps import apps
|
||||||
from django.contrib.staticfiles.testing import StaticLiveServerTestCase
|
from django.contrib.staticfiles.testing import StaticLiveServerTestCase
|
||||||
from django.db import connection
|
from django.db import connection
|
||||||
from django.db.migrations.loader import MigrationLoader
|
from django.db.migrations.loader import MigrationLoader
|
||||||
|
@ -71,6 +72,7 @@ class SeleniumTestCase(DockerTestCase, StaticLiveServerTestCase):
|
||||||
if IS_CI:
|
if IS_CI:
|
||||||
print("::group::authentik Logs", file=stderr)
|
print("::group::authentik Logs", file=stderr)
|
||||||
super().setUp()
|
super().setUp()
|
||||||
|
apps.get_app_config("authentik_tenants").reconcile()
|
||||||
self.wait_timeout = 60
|
self.wait_timeout = 60
|
||||||
self.driver = self._get_driver()
|
self.driver = self._get_driver()
|
||||||
self.driver.implicitly_wait(30)
|
self.driver.implicitly_wait(30)
|
||||||
|
|
Reference in New Issue