The official demos of the nativescript-dev-appium plugin from the NativeScript Developer Day 2017.
A video record of the session could be watched here.
- template-hello-world-ts - a NativeScript project with TypeScript based on the Hello World template for TypeScript.
- template-hello-world-ng - a NativeScript project with Angular and TypeScript based on the Hello World template for Angular.
- template-hello-world-ts/e2e - nativescript-dev-appium basics: configurations, find strategies, locators, actions.
- template-hello-world-ng/e2e - the page object pattern with nativescript-dev-appium.
cd template-hello-world-ts # or template-hello-world-ng
npm install
tns build android # or ios
npm run e2e -- --runType android23 --reuseDevice # or sim.iPhoneX.iOS110
Note: make sure you have set the correct platformName, platformVersion and deviceName values in the
e2e/config/appium.capabilities.json
file for the configuration you execute.