Hola 👋
WebdriverIO released v5 around Christmas, see also this blogpost. To make this reporter usable with the new version there are some small adjustments necessary. There are some minor changes that need to be made. You can find a general overview here. Most important ones to point out are:
- set
"@wdio/cli": "^5.0.0" as peerDependency
- let the reporter extend from
@wdio/reporter
- change the constructor so it calls
super()
Note: if your reporter is designed to report to stdout have it the following way:
/**
* make reporter to write to output stream by default
*/
options = Object.assign(options, { stdout: true });
super(options)
if your reporter should rather report to a file per default just call:
- all file or stdout messages need to be propagated by
this.write("my log message")
Feel free to drop by the webdriverio/v5 support channel in case you need support.
Thanks so much for contributing to the WebdriverIO community. We really appreciate it 🙏 !
Hola 👋
WebdriverIO released v5 around Christmas, see also this blogpost. To make this reporter usable with the new version there are some small adjustments necessary. There are some minor changes that need to be made. You can find a general overview here. Most important ones to point out are:
"@wdio/cli": "^5.0.0"as peerDependency@wdio/reportersuper()Note: if your reporter is designed to report to stdout have it the following way:
this.write("my log message")Feel free to drop by the
webdriverio/v5support channel in case you need support.Thanks so much for contributing to the WebdriverIO community. We really appreciate it 🙏 !