Skip to content

A nativescript-vue application showcasing all elements, used to generate screenshots for the docs.

Notifications You must be signed in to change notification settings

nativescript-vue/nativescript-vue-ui-tests

Repository files navigation

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

About

A nativescript-vue application showcasing all elements, used to generate screenshots for the docs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy