-
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
HTML reporter should not be produced in case of type errors #3562
Comments
@mostmentor Thanks for reporting the issue. Can you please attach the HTML Report here? It would help us a lot in detecting the root cause of the problem. |
@vaibhavsingh97 Here is the HTML report |
Thanks, @mostmentor, for the HTML Report. From the looks of it, Nightwatch didn't report anything since it's more of a javascript error, and the front end broke because of it. A nice error message should be the right fix. |
Is it possible for nightwatch to fail the test because of javascript errors ? |
Nightwatch never ran the tests and failed when it required all the files to run it. Since there was a javascript issue, you must have seen the Actionable Error Message. This is an issue, as HTML Report should never be written in such a case, as the e2e test never ran. |
Description of the bug/issue
I was running set of tests (27 tests) and one of the tests was calling a variable from globals that doesn't exist,
This test status never reported and wasn't able to notice that the test was being skipped
Also the test is never reported in HTML reporter and this is how it looks like
Steps to reproduce
No response
Sample test
Command to run
No response
Verbose Output
No response
Nightwatch Configuration
Nightwatch.js Version
2.6.7
Node Version
16.19.0
Browser
chrome
Operating System
win10
Additional Information
No response
The text was updated successfully, but these errors were encountered: