- Notifications
You must be signed in to change notification settings - Fork0
bsjung/nativescript-vue-ui-tests
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This project uses Appium to test Vue UI components, and also serves as a source for thecomponent screenshots atnativescript-vue.org.
- Node 7.6 or higher (for async function support).
- TheAppium client. Just download and install the latestfrom GitHub or execute the following command:
npm install -g appium
- Carthage:
brew install carthage
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 error127.0.0.1:4723
can't be reached.
Edit theappium.capabilities.json
config file, in theandroid23
section, with your device/emulators parameters, probably only theavd
ordeviceName
parameters would be enough.
Start the tests:
npm run android.buildadb install ./platforms/android/app/build/outputs/apk/debug/app-debug.apknpm run android.screenshots
Edit theappium.capabilities.json
config file, in theios-simulator103iPhone6
section, with your device/emulators parameters.
Build the iOS app
npm run ios.build
StartXCode
and open theplatforms/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
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Languages
- JavaScript94.3%
- Shell3.3%
- CSS2.4%