From 305f485a23c2641d72c41d81ee7a195c7a065906 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 24 Nov 2023 18:04:22 +0100 Subject: [PATCH] cleanup --- src/runner.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/runner.py b/src/runner.py index 75e3597..a6fb286 100644 --- a/src/runner.py +++ b/src/runner.py @@ -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)