webdriverio-community / wdio-html-reporter

Fork of wdio-html-format-reporter
MIT License
18 stars 27 forks source link

Additional context to show when the Expect matcher fails is not showing in the Assertion : Html report #93

Open jeraldphilip opened 1 year ago

jeraldphilip commented 1 year ago

On adding the Additional context to show when the Expect matcher fails is not showing in the Assertion: field of an Html report. Assertion shows up only on any exception thrown.

I'm using jasmine , expect(true).withContext("Error Message").toBe(false);

cant see the error message in the HTM report

Screenshot 2023-01-03 at 8 38 37 PM