Closed swrdfish closed 1 year ago
@swrdfish What happens if you set skip_testcases_on_fail
to false
? The .verify
assertions should only control behaviour inside a specific testcase and would not determine if the rest of testcases should fail or not.
Same behaviour with skip_testcases_on_fail
set to false
.
Actually, it started breaking from this PR: https://github.com/nightwatchjs/nightwatch/pull/3380/ . The current PR is like a patch. We should fix things in asynctree.js
Description of the bug/issue
If the last
verify
command inside anit-block
fails, the rest of tests are skipped. Ideally the tests should keep running.Steps to reproduce
Run the provided test.
Sample test
Command to run
Verbose Output
Nightwatch Configuration
Nightwatch.js Version
2.5.2
Node Version
v17.4.0
Browser
Chrome 108.0.5359.98
Operating System
Mac OS Ventura
Additional Information
No response