Git Product home page Git Product logo

nativescript-vue-ui-tests's Introduction

NativeScript-Vue UI tests

This project uses Appium to test Vue UI components, and also serves as a source for the component screenshots at nativescript-vue.org.

System requirements

  • Node 7.6 or higher (for async function support).
  • The Appium client. Just download and install the latest from GitHub or execute the following command:
npm install -g appium

iOS requirements

  • Carthage:
brew install carthage

Running the tests locally

Start Appium, which is

  • Using the desktop app, press 'Start the server'
  • Using the NPM package, execute appium on a terminal

Otherwise you'll receive an error 127.0.0.1:4723 can't be reached.

Android

Edit the appium.capabilities.json config file, in the android23 section, with your device/emulators parameters, probably only the avd or deviceName parameters would be enough.

Start the tests:

npm run android.build
adb install ./platforms/android/app/build/outputs/apk/debug/app-debug.apk
npm run android.screenshots

iOS

Edit the appium.capabilities.json config file, in the ios-simulator103iPhone6 section, with your device/emulators parameters.

Build the iOS app

npm run ios.build

Start XCode and open the platforms/ios/nativescriptvueuitests.xcodeproj file.

Run the app on the emulator. This is needed in order to have the app installed.

Run the tests:

npm run ios.screenshots

nativescript-vue-ui-tests's People

Contributors

rigor789 avatar msaelices avatar eddyverbruggen avatar tralves avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.