0

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.

KBM
  • 341
  • 4
  • 16

2 Answers2

0

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!

jitinsharma
  • 1,436
  • 13
  • 22
0

@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.

Nick
  • 484
  • 5
  • 18