Running a single testcase using Nightwatch programmatic API #2694
Unanswered
akhil-kp-dasan
asked this question in
Help Needed
Replies: 1 comment
-
Sure, just pass a file path to Nightwatch.runTests(). You can have a look at the unit tests to see how it's done, e.g.: https://github.com/nightwatchjs/nightwatch/blob/main/test/src/runner/testRunTestcase.js |
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
-
From the example available on the documentation page I can see that we can pass either folders or files from which the runner would run all the test cases. But I can't find a way to run a single test case from the file. Is there a way to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions