WDIO Sauce Labs Service
A WebdriverIO service. It updates the job metadata ('name', 'passed', 'tags', 'public', 'build', 'custom-data') and runs Sauce Connect if desired.
The easiest way is to keep
wdio-sauce-service as a devDependency in your
You can simple do it by:
npm install wdio-sauce-service --save-dev
Instructions on how to install
WebdriverIO can be found here.
In order to use the service you need to set
key in your
wdio.conf.js file. It will automatically
use Sauce Labs to run your integration tests. If you want to use Sauce Connect
you just need to set
Your Sauce Labs username.
Your Sauce Labs access key.
If true it runs Sauce Connect and opens a secure connection between a Sauce Labs virtual machine running your browser tests.
Apply Sauce Connect options (e.g. to change port number or logFile settings). See this list for more information.
All commands can be found in the package.json. The most important are:
$ npm run watch
Run tests (there are non yet, please help to get unit test - see here):
$ npm test
$ npm build
For more information on WebdriverIO see the homepage.