authentik setup and tracing #2

Merged
dan merged 69 commits from working-setup into dev 2023-11-27 17:01:47 +01:00
Showing only changes of commit 305f485a23 - Show all commits

View file

@ -22,7 +22,7 @@ class Runner:
def __init__(self, dotenv_path: Path, tests_dir: Path, session_id: str):
self.dotenv_path = dotenv_path
self.config: dict[str, str] = dotenv_values(dotenv_path)
self.config: dict[str, str] = dotenv_values(dotenv_path) # type: ignore
self.tests_dir = tests_dir
self.session_id = session_id
self.dir_manager = DirManager(tests_dir, session_id)
@ -68,14 +68,17 @@ class Runner:
# tracing
command_arguments.append("--tracing")
# command_arguments.append("retain-on-failure")
command_arguments.append("on")
# warning: https://github.com/microsoft/playwright-pytest/issues/111
# --output only works with the given context and page fixture
# disable capturing
# pytest -s # disable all capturing
command_arguments.append("-s")
# command_arguments.append("-s")
# headed
command_arguments.append("--headed")
# command_arguments.append("--headed")
pytest.main(command_arguments)