Sauce Service
WebdriverIO service that provides a better integration into Sauce Labs. This service can be used for:
- the Sauce Labs Virtual Machine Cloud (Desktop Web/Emulator/Simulator)
- the Sauce Labs Real Device cloud (iOS and Android)
It can update the job metadata ('name'*, 'passed', 'tags', 'public', 'build', 'custom-data') and runs Sauce Connect if desired.
What else will this service do for you:
- By default the Sauce Service will update the 'name' of the job when the job starts. This will give you the option to update the name at any given point in time.
- You can define a
setJobName
parameter and customise the job name according to your capabilities, options and suite title - The Sauce Service will also push the error stack of a failed test to the Sauce Labs commands tab
- It will allow you to automatically configure and spin up Sauce Connect
- And it will set context points in your command list to identify which commands were executed in what test
Installation
The easiest way is to keep @wdio/sauce-service
as a devDependency in your package.json
, via:
npm install @wdio/sauce-service --save-dev
Instructions on how to install WebdriverIO
can be found here.