I am getting 'undefined' in the message section of the generated html report of Protractor-Html-Screenshot reporter. In my tests i am using chai.assert. It should ideally give 'Passed' for passed scripts.
Any help would be great.
I am getting 'undefined' in the message section of the generated html report of Protractor-Html-Screenshot reporter. In my tests i am using chai.assert. It should ideally give 'Passed' for passed scripts.
Any help would be great.
Even i have noticed the same. It only happens when i have multiple 'it' in my describe function. Otherwise it works fine, though that's not a solution!
@mainak and @js2892. That is because you did not have a expect statement for the particular "it" block. If you add a expect then the result of message will be pass.