-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled rejection while using expect assertions in an async test step #3138
Comments
Hey @sarahRaafat15, even in the case of sync test methods rest of the tests are skipped and this is the expected behavior |
Hi @gravityvi , but in the case of having |
Thanks @sarahRaafat15 for reporting this. I have noticed this only happens while using |
Describe the bug
After an expect element to contain text assertion fails in an async step, test stops the rest of the execution, also the results object 's modules is empty.
Sample test
sampleTest.js
Your Environment
nightwatch --version
npm --version
node --version
The text was updated successfully, but these errors were encountered: