Stop a running nightwatch test #2674
Unanswered
vikramarka
asked this question in
Help Needed
Replies: 1 comment 3 replies
-
https://nightwatchjs.org/api/end.html#apimethod-page |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a bunch of nightwatch tests that run on saucelabs for hours. I am running nightwatch tests as part of a nodejs service. Now I want to create an end point that would stop the running tests. I just want to know if I call the stopWebDriver(), will it call the after hook of the nightwatch? Basically, I am using the results object in after hook to save the JSON report so I want to have the report when I stop the nightwatch test. Is it possible to achieve that?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions