Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 908 Bytes

exercise5.md

File metadata and controls

18 lines (12 loc) · 908 Bytes

Exercise 5: Building on top of WebdriverIO

Add a custom service

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

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! 👏