NOTE:
This project is not maintained anymore by Sauce Labs, samples on how to use WebdriverIO with Sauce Labs and other frameworks can be found on the Sauce-service and frameworks site of WebdriverIO.
This code is provided on an "AS-IS” basis without warranty of any kind, either express or implied, including without limitation any implied warranties of condition, uninterrupted use, merchantability, fitness for a particular purpose, or non-infringement. Your tests and testing environments may require you to modify this framework. Issues regarding this framework should be submitted through GitHub. For questions regarding Sauce Labs integration, please see the Sauce Labs documentation at https://wiki.saucelabs.com/. This framework is not maintained by Sauce Labs Support.
- Global Dependencies
$ brew install node
- Install Grunt Globally
$ npm install -g grunt-cli
- Sauce Credentials
- In the terminal export your Sauce Labs Credentials as environmental variables:
$ export SAUCE_USERNAME=<your Sauce Labs username> $ export SAUCE_ACCESS_KEY=<your Sauce Labs access key>
- Project Dependencies
- Install Node modules
$ npm install
- Tests in Parallel:
$ grunt
- Single Feature
./node_modules/.bin/cucumber.js features/homepage.feature
- There may be additional latency when using a remote webdriver to run tests on Sauce Labs. Timeouts or Waits may need to be increased.
- A great resource to search for issues not explicitly covered by documentation