You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
super(options)
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 🙏 !
The text was updated successfully, but these errors were encountered:
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/reporter
super()
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/v5
support channel in case you need support.Thanks so much for contributing to the WebdriverIO community. We really appreciate it 🙏 !
The text was updated successfully, but these errors were encountered: