This folder contains a set up for WebdriverIO on how to allocate devices on the Sauce Labs Real Device Cloud (Unified
Platform). Two simple test files are executed on a mobile Chrome or Safari browser.
Please check the configuration file here to see all possible options. There is a
reference link to Real Device Testing Capabilities which can also be found
here.
The wdio-sauce-service
will take care of:
- connecting to the correct Data Center
- updating the tests with the correct status
You can install all dependencies by running the following command
npm install
This will install all needed dependencies that are listed in the package.json
-file
NOTE: Make sure you are in the folder
webdriverio/appium-web/examples/device-allocation
when you execute this command
You can run your tests on Sauce Labs US DC with this command
npm run test.saucelabs.us
You can run your tests on Sauce Labs EU DC with this command
npm run test.saucelabs.eu