mirror of
https://github.com/appium/appium.git
synced 2026-01-13 13:50:00 -06:00
* Sample code stub (#9887) * WD tests * WD sample code (#9918) * WebdriverIO sample code (#10166) * Ruby sample code (#10331) * PHP Sample Code (#10209) * Basic Android java test * Java sample code (#10427) * Sample code (#10834) * Sample code stub (#9887) * WD tests * WD sample code (#9918) * WebdriverIO sample code (#10166) * Ruby sample code (#10331) * PHP Sample Code (#10209) * Basic Android java test * Java sample code (#10427) * fixed WDIO test * Update .npmignore
Javascript WebdriverIO Client Sample Code
Setup
- Must have NodeJS and NPM installed (https://nodejs.org/en/)
- Install dependencies by running
npm install
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_VERSIONor install with Xcode (e.g.:IOS_PLATFORM_VERSION=11.2 $(npm bin)/mocha -t 6000000 test/path/to/test.js)