Files
appium/sample-code/javascript-webdriverio
greenkeeper[bot] 0cd15541da Update mocha in group sample-code to the latest version 🚀 (#13876)
* chore(package): update mocha to version 7.0.1

* chore(package): update mocha to version 7.0.1
2020-01-27 12:54:04 -08:00
..
2019-03-22 15:13:02 -04: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: '12.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 12.1
    • If 12.1 isn't available on your system, set the version by setting environment variable IOS_PLATFORM_VERSION (e.g., IOS_PLATFORM_VERSION=11.2 $(npm bin)/mocha -t 6000000 test/path/to/test.js), or install the iOS 12.1 SDK with Xcode.