Here you can find the slides and demo code that I used for my talk at the NativeScript Developer Day Europe 2017.
Before running the demo tests you should ...
- Build the demo app using
tns build iosandtns build android - Check
demo/e2e/config/appium.capabilities.jsonand ajust the file to match the emulators/simulators you want to use
To run the testcases use
npm run e2e -- --runType <desired capability>where <desired capability> is one of your emulators in appium.capabilities.json
For example
npm run e2e -- --runType sim.iPhone6.iOS-10.3Enjoy !