When element is not located (NoSuchElementError) the test does not fail. #4249
Unanswered
MarinaBoles
asked this question in
Help Needed
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When the element is not present on the page, I get
NoSuchElementError
, but the test run doesn't stop and scenario is marked as passed at the end.Nightwatchjs docs state that the test is supposed to fail when element is not found (unless coded otherwise), but not in my case. Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions