cleanup
This commit is contained in:
parent
851c06f795
commit
61a02aa187
1 changed files with 4 additions and 3 deletions
|
|
@ -57,12 +57,15 @@ class Runner:
|
||||||
command_arguments.append(str(self.dotenv_path))
|
command_arguments.append(str(self.dotenv_path))
|
||||||
|
|
||||||
command_arguments.append("--output_dir")
|
command_arguments.append("--output_dir")
|
||||||
command_arguments.append(str(self.output_dir))
|
command_arguments.append(str(self.DIRS.OUTPUT))
|
||||||
|
|
||||||
command_arguments.append("--session_id")
|
command_arguments.append("--session_id")
|
||||||
command_arguments.append(self.session_id)
|
command_arguments.append(self.session_id)
|
||||||
|
|
||||||
# artifacts dir
|
# artifacts dir
|
||||||
|
# warning: https://github.com/microsoft/playwright-pytest/issues/111
|
||||||
|
# --output only works with the given context and page fixture
|
||||||
|
# folder needs to be unique! traces will not appear, if every pytest run has same output dir
|
||||||
output = self.DIRS.RESULTS / full_test_path.stem
|
output = self.DIRS.RESULTS / full_test_path.stem
|
||||||
command_arguments.append("--output")
|
command_arguments.append("--output")
|
||||||
command_arguments.append(str(output))
|
command_arguments.append(str(output))
|
||||||
|
|
@ -71,8 +74,6 @@ class Runner:
|
||||||
command_arguments.append("--tracing")
|
command_arguments.append("--tracing")
|
||||||
command_arguments.append("retain-on-failure")
|
command_arguments.append("retain-on-failure")
|
||||||
# command_arguments.append("on")
|
# 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. With -s set, prints will go to console as if pytest is not there.
|
# Disable capturing. With -s set, prints will go to console as if pytest is not there.
|
||||||
# command_arguments.append("-s")
|
# command_arguments.append("-s")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue