webdriverio-community / wdio-html-reporter

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

Errors not included in report #16

Closed goldengecko closed 4 years ago

goldengecko commented 4 years ago

When an error occurred in my tests, it was not including the error information in the report.

After looking through the source, I found that the onTestFail(test) method was not moving the errors to events.

Adding this.moveErrorsToEvents(test); to onTestFail(test) fixed the error for me.

rpii commented 4 years ago

looks good! thanks