Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 865 Bytes

README.md

File metadata and controls

55 lines (37 loc) · 865 Bytes

Cordova Appium Example

This is a simple appium example for cordova applications.

This example is based on:

Cordova version

$ cordova --version
8.1.2 ([email protected])

Setup

Install the dependencies packages.

$ npm install

Run appium-doctor to ensure your machine is set up correctly.

$ npm run appium-doctor

Build the Cordova application.

$ cordova build android --emulate
$ cordova build ios --emulate

Run locally

Connect a device or start up an emulator. Ensure it matches the capabilities specified in config/wdio.*.conf.js.

Start the Appium server.

$ npm run appium

Run tests.

$ npm run test:e2e:android
$ npm run test:e2e:ios