authentik setup and tracing #2
1 changed files with 6 additions and 3 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue