add timeout parameter to cli and to pytest_abra

This commit is contained in:
Daniel 2023-12-07 01:40:35 +01:00
parent a499891fe8
commit 8a136e5e6c
4 changed files with 19 additions and 17 deletions

View file

@ -133,6 +133,9 @@ class Runner:
command_arguments.append("--session_id")
command_arguments.append(self.DIR.session_id)
command_arguments.append("--timeout")
command_arguments.append(str(self.coordinator.TIMEOUT))
# artifacts dir from pytest
# warning: https://github.com/microsoft/playwright-pytest/issues/111
# --output only works with the given context and page fixture
@ -146,7 +149,7 @@ class Runner:
# command_arguments.append("on")
# Disable capturing. With -s set, prints will go to console as if pytest is not there.
command_arguments.append("-s")
# command_arguments.append("-s")
# headed
# command_arguments.append("--headed")