[Enhancement] Global test suite timeout #2561
MatthewParke
started this conversation in
General
Replies: 1 comment
-
Maybe some script that launches NW in background and the monitors the PID lifetime? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking for something in Nightwatch that would serve as a global test suite timeout. I have some automation that runs regularly, but occasionally will get hung up on either internet issues or changes to the portal the automation is running on. This can cause a backup of scripts that need to be run. If there was a timeout that would start at the beginning of a script run and set a timeout of sorts for a configurable time, then exit the browser and Nightwatch runner gracefully when this timeout has been reached. I'm using the Nightwatch programmatic API and have tried using the .stopWebDriver command, however that leaves Nightwatch running and trying to execute commands. I need something that would stop both Nightwatch and the web driver.
Beta Was this translation helpful? Give feedback.
All reactions