-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make reporter compatible with WebdriverIO v5 #36
Comments
Any updates? |
@christian-bromann Almost done. I've run across an issue I'm hoping you can help address. In v4 as part of the test result we could see a list of the wdio commands that were executed for a test under an
This reporter uses that info to determine if any screenshots were captured during test execution. If there were screenshots, then we could have them embedded directly in the HTML report. With v5, it appears that |
@fijijavis you should be able to use the |
@christian-bromann Somehow I completely missed those 🤦♂️. Thanks |
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: