asialgearoid / cordova-appium-example

A simple Cordova app showing how to test using Appium and WebdriverIO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository contains a simple Cordova project which shows how to test using Appium. See the related blog post for full info.

Setup

First install the dependencies.

npm install

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

npm run appium-doctor

Then set up Android. See the blog post for info on how to set up the project for iOS.

cordova platform add android && cordova build android

Run tests

Connect a device or start up an emulator. Ensure it matches the capabilities specified in tests/wdio.conf.js. Then run the tests:

npm run test

About

A simple Cordova app showing how to test using Appium and WebdriverIO

License:MIT License


Languages

Language:JavaScript 46.7%Language:CSS 43.6%Language:HTML 9.7%