authentik setup and tracing (#2)

* authentik sessions created successfully during setup without breaking tracing

* setup works on EN and DE localization by using regex patterns

* automated tracing with pytest --trace option, manual hook no longer needed

Reviewed-on: local-it-infrastructure/e2e_tests#2
Co-authored-by: Daniel <d.brummerloh@gmail.com>
Co-committed-by: Daniel <d.brummerloh@gmail.com>
This commit is contained in:
Daniel 2023-11-27 17:01:45 +01:00 committed by dan
parent 97ed87c79f
commit d2cd6ba47f
22 changed files with 519 additions and 304 deletions

View file

@ -1,6 +1,8 @@
from pathlib import Path
from runner import Runner, SubTest
from src.runner import Runner, SubTest
# from src.tests_authentik.setup_authentik import setup_authentik
def condition_always_true(dotenv_path: Path) -> bool:
@ -12,5 +14,7 @@ def condition_always_false(dotenv_path: Path) -> bool:
class RunnerAuthentik(Runner):
name = "authentik"
test_dir_name = "tests_authentik"
main_test_name = "test_authentik_dummy.py"
main_setup_name = "setup_authentik.py"
# main_test_name = "test_authentik_dummy.py"