Files
appium/sample-code/javascript-webdriverio
Sai Krishna 4df45addc3 update WDIO test to v5 (#11919)
* update WDIO test to v5

* fix review
2019-01-02 09:57:39 -08:00
..
2019-01-02 09:57:39 -08:00
2019-01-02 09:57:39 -08:00
2019-01-02 09:57:39 -08:00

Javascript WebdriverIO Client Sample Code

Setup

Running Tests

  • To run all of the tests, run npm test
  • To run individual tests, run $(npm bin)/mocha test/path/to/test.js

Troubleshooting

  • Original error: '11.1' does not exist in the list of simctl SDKs. Only the following Simulator SDK versions are available on your system: x.y
    • By default, these example tests expect IOS version 11.1
    • If 11.1 isn't available on your system, set the version by setting environment variable IOS_PLATFORM_VERSION or install with Xcode (e.g.: IOS_PLATFORM_VERSION=11.2 $(npm bin)/mocha -t 6000000 test/path/to/test.js)