[Nightwatch API Report Related Issue] Unable to report any assertion used in custom commands #4393
Unanswered
styagi2196
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All , I am using Nightwatch API with javascript to automate my e2e test scenarios , My requirement is to perform some validations that are quite general and in order to do that I have created a custom command , however any assert used in that command is not being reported in the json or the html file generated by the Nightwatch API .
As of now I need to use the hard assert in the step definition only after returning the result from the method used.
Currently my project is using nightwatch 3.7.0
Please help of someone has faced this issue or worked on a similar ask
Beta Was this translation helpful? Give feedback.
All reactions