Add a custom service as explained here by using the ./custom-service.js
file.
An example has already been made so you only have to implement it using the wdio.conf.js
file.
To see the service work correctly, add the someOption
property to the options object as shown in the documentation and run your tests.\
When done correctly it should log the following once:
someOption is true
Add a custom reporter as explained here by using the ./custom-reporter.js
file.
An example has already been made so you only have to implement it using the wdio.conf.js
file.\
When done correctly it should log the following for each instance:
Congratulations! Your have successfully added a custom reporter! 👏