wdio-html-nice-reporter is a 3rd party package, for more information please see GitHub | npm
wdio-html-nice-reporter
A reporter for webdriver.io which generates a nice HTML report.
The name is silly but provides integration with webdriverio
New: no longer beta.
New: cleaned up and switched logging to wdio-logging. Samples are updated.
You need to remove the log4Js logger initialization from your config
New: rewritten as an ES module for webdriverio 8 compatibility.
You may need changes in your test app
Bug fix: webdriverio was shutting down in the middle of json async write.
Bug fix: json write was not awaited for correctly
Great new improvement: no more out of memory errors due to json.stringify
Great new feature: take videos of each test
Changelog
Information
This project is a rewrite of @rpii/wdio-html-reporter It is written in typescript with many enhancements.
Configuration
WDIO.config.ts
The following code shows the default wdio test runner configuration. Just add an HtmlReporter object as another reporter to the reporters array: