https://github.com/nativescript/ns-dev-days-appium-plugin
https://github.com/nativescript/ns-dev-days-appium-plugin
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nativescript/ns-dev-days-appium-plugin
- Owner: NativeScript
- Archived: true
- Created: 2017-09-11T23:53:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-09T11:57:27.000Z (about 8 years ago)
- Last Synced: 2024-05-23T10:01:33.497Z (about 2 years ago)
- Language: TypeScript
- Size: 151 MB
- Stars: 4
- Watchers: 6
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ns-dev-days-appium-plugin
The official demos of the [nativescript-dev-appium](https://github.com/NativeScript/nativescript-dev-appium#nativescript-dev-appium) plugin from the [NativeScript Developer Day 2017](http://developerday.nativescript.org/).
> A video record of the session could be watched [here](https://www.youtube.com/watch?v=LjgIM4pvhsQ).
### This repositories contains:
- template-hello-world-ts - a NativeScript project with TypeScript based on the [Hello World template for TypeScript](https://github.com/NativeScript/template-hello-world-ts).
- template-hello-world-ng - a NativeScript project with Angular and TypeScript based on the [Hello World template for Angular](https://github.com/NativeScript/template-hello-world-ng).
### These tests demonstrate:
- [template-hello-world-ts/e2e](https://github.com/NativeScript/ns-dev-days-appium-plugin/blob/master/template-hello-world-ts/e2e/) - *nativescript-dev-appium* basics: configurations, find strategies, locators, actions.
- [template-hello-world-ng/e2e](https://github.com/NativeScript/ns-dev-days-appium-plugin/blob/master/template-hello-world-ng/e2e/) - the page object pattern with *nativescript-dev-appium*.
### Steps to start demo:
```shell
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.