├── screenshots
├── .gitkeep
├── android23
│ ├── Button.png
│ ├── Image.png
│ ├── Label.png
│ ├── Slider.png
│ ├── Switch.png
│ ├── HtmlView.png
│ ├── ListView.png
│ ├── Progress.png
│ ├── SearchBar.png
│ ├── TabView.png
│ ├── TextField.png
│ ├── TextView.png
│ ├── WebView.png
│ ├── AlertDialog.png
│ ├── DatePicker.png
│ ├── ListPicker.png
│ ├── LoginDialog.png
│ ├── ScrollView.png
│ ├── TimePicker.png
│ ├── ActionDialog.png
│ ├── ConfirmDialog.png
│ ├── PromptDialog.png
│ ├── SegmentedBar.png
│ └── ActivityIndicator.png
└── ios-simulator103iPhone6
│ ├── Image.png
│ ├── Label.png
│ ├── Button.png
│ ├── Slider.png
│ ├── Switch.png
│ ├── TabView.png
│ ├── WebView.png
│ ├── DatePicker.png
│ ├── HtmlView.png
│ ├── ListPicker.png
│ ├── ListView.png
│ ├── Progress.png
│ ├── ScrollView.png
│ ├── SearchBar.png
│ ├── TextField.png
│ ├── TextView.png
│ ├── TimePicker.png
│ ├── ActionDialog.png
│ ├── AlertDialog.png
│ ├── LoginDialog.png
│ ├── PromptDialog.png
│ ├── SegmentedBar.png
│ ├── ConfirmDialog.png
│ └── ActivityIndicator.png
├── .gitignore
├── app
├── App_Resources
│ ├── iOS
│ │ ├── Assets.xcassets
│ │ │ ├── Contents.json
│ │ │ ├── icon.imageset
│ │ │ │ ├── icon-40.png
│ │ │ │ ├── icon-40@2x.png
│ │ │ │ ├── icon-40@3x.png
│ │ │ │ └── Contents.json
│ │ │ ├── AppIcon.appiconset
│ │ │ │ ├── icon-29.png
│ │ │ │ ├── icon-40.png
│ │ │ │ ├── icon-76.png
│ │ │ │ ├── icon-29@2x.png
│ │ │ │ ├── icon-29@3x.png
│ │ │ │ ├── icon-40@2x.png
│ │ │ │ ├── icon-40@3x.png
│ │ │ │ ├── icon-60@2x.png
│ │ │ │ ├── icon-60@3x.png
│ │ │ │ ├── icon-76@2x.png
│ │ │ │ ├── icon-83.5@2x.png
│ │ │ │ └── Contents.json
│ │ │ ├── LaunchImage.launchimage
│ │ │ │ ├── Default.png
│ │ │ │ ├── Default@2x.png
│ │ │ │ ├── Default-568h@2x.png
│ │ │ │ ├── Default-667h@2x.png
│ │ │ │ ├── Default-736h@3x.png
│ │ │ │ ├── Default-Portrait.png
│ │ │ │ ├── Default-Landscape.png
│ │ │ │ ├── Default-Portrait@2x.png
│ │ │ │ ├── Default-Landscape@2x.png
│ │ │ │ ├── Default-Landscape@3x.png
│ │ │ │ └── Contents.json
│ │ │ ├── LaunchScreen.Center.imageset
│ │ │ │ ├── LaunchScreen-Center.png
│ │ │ │ ├── LaunchScreen-Center@2x.png
│ │ │ │ └── Contents.json
│ │ │ └── LaunchScreen.AspectFill.imageset
│ │ │ │ ├── LaunchScreen-AspectFill.png
│ │ │ │ ├── LaunchScreen-AspectFill@2x.png
│ │ │ │ └── Contents.json
│ │ ├── build.xcconfig
│ │ ├── Info.plist
│ │ └── LaunchScreen.storyboard
│ └── Android
│ │ ├── values-v21
│ │ ├── colors.xml
│ │ └── styles.xml
│ │ ├── drawable-hdpi
│ │ ├── icon.png
│ │ ├── logo.png
│ │ └── background.png
│ │ ├── drawable-ldpi
│ │ ├── icon.png
│ │ ├── logo.png
│ │ └── background.png
│ │ ├── drawable-mdpi
│ │ ├── icon.png
│ │ ├── logo.png
│ │ └── background.png
│ │ ├── drawable-xhdpi
│ │ ├── icon.png
│ │ ├── logo.png
│ │ └── background.png
│ │ ├── drawable-xxhdpi
│ │ ├── icon.png
│ │ ├── logo.png
│ │ └── background.png
│ │ ├── drawable-xxxhdpi
│ │ ├── icon.png
│ │ ├── logo.png
│ │ └── background.png
│ │ ├── values
│ │ ├── colors.xml
│ │ └── styles.xml
│ │ ├── drawable-nodpi
│ │ └── splash_screen.xml
│ │ ├── app.gradle
│ │ └── AndroidManifest.xml
├── package.json
├── elements
│ ├── dialogs
│ │ ├── Alert.js
│ │ ├── Confirm.js
│ │ ├── Prompt.js
│ │ ├── Login.js
│ │ └── Action.js
│ └── components
│ │ ├── SearchBar.js
│ │ ├── DatePicker.js
│ │ ├── TimePicker.js
│ │ ├── Button.js
│ │ ├── Label.js
│ │ ├── Slider.js
│ │ ├── Progress.js
│ │ ├── Switch.js
│ │ ├── TextField.js
│ │ ├── Image.js
│ │ ├── TextView.js
│ │ ├── ActivityIndicator.js
│ │ ├── ListPicker.js
│ │ ├── SegmentedBar.js
│ │ ├── HtmlView.js
│ │ ├── ListView.js
│ │ ├── TabView.js
│ │ ├── WebView.js
│ │ └── ScrollView.js
├── app.css
└── app.js
├── deploy.sh
├── appium.capabilities.json
├── package.json
├── README.md
├── .travis.yml
└── generate-screenshots.js
/screenshots/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | npm-debug.log
3 | package-lock.json
4 | node_modules
5 | platforms/
6 | app/tns_modules/
7 |
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/screenshots/android23/Button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/Button.png
--------------------------------------------------------------------------------
/screenshots/android23/Image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/Image.png
--------------------------------------------------------------------------------
/screenshots/android23/Label.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/Label.png
--------------------------------------------------------------------------------
/screenshots/android23/Slider.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/Slider.png
--------------------------------------------------------------------------------
/screenshots/android23/Switch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/Switch.png
--------------------------------------------------------------------------------
/screenshots/android23/HtmlView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/HtmlView.png
--------------------------------------------------------------------------------
/screenshots/android23/ListView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/ListView.png
--------------------------------------------------------------------------------
/screenshots/android23/Progress.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/Progress.png
--------------------------------------------------------------------------------
/screenshots/android23/SearchBar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/SearchBar.png
--------------------------------------------------------------------------------
/screenshots/android23/TabView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/TabView.png
--------------------------------------------------------------------------------
/screenshots/android23/TextField.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/TextField.png
--------------------------------------------------------------------------------
/screenshots/android23/TextView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/TextView.png
--------------------------------------------------------------------------------
/screenshots/android23/WebView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/WebView.png
--------------------------------------------------------------------------------
/screenshots/android23/AlertDialog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/AlertDialog.png
--------------------------------------------------------------------------------
/screenshots/android23/DatePicker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/DatePicker.png
--------------------------------------------------------------------------------
/screenshots/android23/ListPicker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/ListPicker.png
--------------------------------------------------------------------------------
/screenshots/android23/LoginDialog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/LoginDialog.png
--------------------------------------------------------------------------------
/screenshots/android23/ScrollView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/ScrollView.png
--------------------------------------------------------------------------------
/screenshots/android23/TimePicker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/TimePicker.png
--------------------------------------------------------------------------------
/screenshots/android23/ActionDialog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/ActionDialog.png
--------------------------------------------------------------------------------
/screenshots/android23/ConfirmDialog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/ConfirmDialog.png
--------------------------------------------------------------------------------
/screenshots/android23/PromptDialog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/PromptDialog.png
--------------------------------------------------------------------------------
/screenshots/android23/SegmentedBar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/SegmentedBar.png
--------------------------------------------------------------------------------
/app/App_Resources/Android/values-v21/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3d5afe
4 |
--------------------------------------------------------------------------------
/screenshots/android23/ActivityIndicator.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/android23/ActivityIndicator.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/Image.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/Image.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/Label.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/Label.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/Button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/Button.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/Slider.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/Slider.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/Switch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/Switch.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/TabView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/TabView.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/WebView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/WebView.png
--------------------------------------------------------------------------------
/app/App_Resources/Android/drawable-hdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/Android/drawable-hdpi/icon.png
--------------------------------------------------------------------------------
/app/App_Resources/Android/drawable-hdpi/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/Android/drawable-hdpi/logo.png
--------------------------------------------------------------------------------
/app/App_Resources/Android/drawable-ldpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/Android/drawable-ldpi/icon.png
--------------------------------------------------------------------------------
/app/App_Resources/Android/drawable-ldpi/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/Android/drawable-ldpi/logo.png
--------------------------------------------------------------------------------
/app/App_Resources/Android/drawable-mdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/Android/drawable-mdpi/icon.png
--------------------------------------------------------------------------------
/app/App_Resources/Android/drawable-mdpi/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/Android/drawable-mdpi/logo.png
--------------------------------------------------------------------------------
/app/App_Resources/Android/drawable-xhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/Android/drawable-xhdpi/icon.png
--------------------------------------------------------------------------------
/app/App_Resources/Android/drawable-xhdpi/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/Android/drawable-xhdpi/logo.png
--------------------------------------------------------------------------------
/app/App_Resources/Android/drawable-xxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/Android/drawable-xxhdpi/icon.png
--------------------------------------------------------------------------------
/app/App_Resources/Android/drawable-xxhdpi/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/Android/drawable-xxhdpi/logo.png
--------------------------------------------------------------------------------
/app/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "android": {
3 | "v8Flags": "--expose_gc"
4 | },
5 | "main": "app.js",
6 | "name": "nativescript-vue-ui-tests",
7 | "version": "3.2.0"
8 | }
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/DatePicker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/DatePicker.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/HtmlView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/HtmlView.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/ListPicker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/ListPicker.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/ListView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/ListView.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/Progress.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/Progress.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/ScrollView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/ScrollView.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/SearchBar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/SearchBar.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/TextField.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/TextField.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/TextView.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/TextView.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/TimePicker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/TimePicker.png
--------------------------------------------------------------------------------
/app/App_Resources/Android/drawable-xxxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/Android/drawable-xxxhdpi/icon.png
--------------------------------------------------------------------------------
/app/App_Resources/Android/drawable-xxxhdpi/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/Android/drawable-xxxhdpi/logo.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/ActionDialog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/ActionDialog.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/AlertDialog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/AlertDialog.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/LoginDialog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/LoginDialog.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/PromptDialog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/PromptDialog.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/SegmentedBar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/SegmentedBar.png
--------------------------------------------------------------------------------
/app/App_Resources/Android/drawable-hdpi/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/Android/drawable-hdpi/background.png
--------------------------------------------------------------------------------
/app/App_Resources/Android/drawable-ldpi/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/Android/drawable-ldpi/background.png
--------------------------------------------------------------------------------
/app/App_Resources/Android/drawable-mdpi/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/Android/drawable-mdpi/background.png
--------------------------------------------------------------------------------
/app/App_Resources/Android/drawable-xhdpi/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/Android/drawable-xhdpi/background.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/ConfirmDialog.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/ConfirmDialog.png
--------------------------------------------------------------------------------
/app/App_Resources/Android/drawable-xxhdpi/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/Android/drawable-xxhdpi/background.png
--------------------------------------------------------------------------------
/app/App_Resources/Android/drawable-xxxhdpi/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/Android/drawable-xxxhdpi/background.png
--------------------------------------------------------------------------------
/screenshots/ios-simulator103iPhone6/ActivityIndicator.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/screenshots/ios-simulator103iPhone6/ActivityIndicator.png
--------------------------------------------------------------------------------
/app/elements/dialogs/Alert.js:
--------------------------------------------------------------------------------
1 | const dialogs = require('tns-core-modules/ui/dialogs');
2 |
3 | module.exports = {
4 | mounted() {
5 | setTimeout(() => dialogs.alert('Hello!'))
6 | }
7 | };
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/icon.imageset/icon-40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/icon.imageset/icon-40.png
--------------------------------------------------------------------------------
/app/elements/components/SearchBar.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | template: `
3 |
4 |
5 |
6 |
7 |
8 | `
9 | };
10 |
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/icon.imageset/icon-40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/icon.imageset/icon-40@2x.png
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/icon.imageset/icon-40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/icon.imageset/icon-40@3x.png
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png
--------------------------------------------------------------------------------
/app/elements/dialogs/Confirm.js:
--------------------------------------------------------------------------------
1 | const dialogs = require('tns-core-modules/ui/dialogs');
2 |
3 | module.exports = {
4 | mounted() {
5 | setTimeout(() => dialogs.confirm('Are you ready?'))
6 | }
7 | };
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png
--------------------------------------------------------------------------------
/app/elements/components/DatePicker.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | template: `
3 |
4 |
5 |
6 |
7 |
8 | `
9 | };
10 |
--------------------------------------------------------------------------------
/app/elements/components/TimePicker.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | template: `
3 |
4 |
5 |
6 |
7 |
8 | `
9 | };
10 |
--------------------------------------------------------------------------------
/app/elements/dialogs/Prompt.js:
--------------------------------------------------------------------------------
1 | const dialogs = require('tns-core-modules/ui/dialogs');
2 |
3 | module.exports = {
4 | mounted() {
5 | setTimeout(() => dialogs.prompt('How are you?', 'Amazing!'))
6 | }
7 | };
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default.png
--------------------------------------------------------------------------------
/app/elements/components/Button.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | template: `
3 |
4 |
5 |
6 |
7 |
8 | `
9 | };
10 |
--------------------------------------------------------------------------------
/app/elements/components/Label.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | template: `
3 |
4 |
5 |
6 |
7 |
8 | `
9 | };
10 |
--------------------------------------------------------------------------------
/app/elements/components/Slider.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | template: `
3 |
4 |
5 |
6 |
7 |
8 | `
9 | };
10 |
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default@2x.png
--------------------------------------------------------------------------------
/app/elements/components/Progress.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | template: `
3 |
4 |
5 |
6 |
7 |
8 | `
9 | };
10 |
--------------------------------------------------------------------------------
/app/elements/components/Switch.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | template: `
3 |
4 |
5 |
6 |
7 |
8 | `
9 | };
10 |
--------------------------------------------------------------------------------
/app/elements/components/TextField.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | template: `
3 |
4 |
5 |
6 |
7 |
8 | `
9 | };
10 |
--------------------------------------------------------------------------------
/app/elements/dialogs/Login.js:
--------------------------------------------------------------------------------
1 | const dialogs = require('tns-core-modules/ui/dialogs');
2 |
3 | module.exports = {
4 | mounted() {
5 | setTimeout(() => dialogs.login('Please log in', 'Username', 'Password'))
6 | }
7 | };
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-568h@2x.png
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-667h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-667h@2x.png
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-736h@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-736h@3x.png
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait.png
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape.png
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png
--------------------------------------------------------------------------------
/app/elements/dialogs/Action.js:
--------------------------------------------------------------------------------
1 | const dialogs = require('tns-core-modules/ui/dialogs');
2 |
3 | module.exports = {
4 | mounted() {
5 | setTimeout(() => dialogs.action('Choose one!', 'Or cancel...', ['cheese', 'wine']))
6 | }
7 | };
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@3x.png
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png
--------------------------------------------------------------------------------
/app/elements/components/Image.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | template: `
3 |
4 |
5 |
6 |
7 |
8 | `
9 | };
10 |
--------------------------------------------------------------------------------
/app/elements/components/TextView.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | template: `
3 |
4 |
5 |
6 |
7 |
8 | `
9 | };
10 |
--------------------------------------------------------------------------------
/app/elements/components/ActivityIndicator.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | template: `
3 |
4 |
5 |
6 |
7 |
8 | `
9 | }
10 |
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nativescript-vue/nativescript-vue-ui-tests/HEAD/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png
--------------------------------------------------------------------------------
/app/App_Resources/Android/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #F5F5F5
4 | #757575
5 | #33B5E5
6 | #272734
7 |
--------------------------------------------------------------------------------
/app/elements/components/ListPicker.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | template: `
3 |
4 |
5 |
6 |
7 |
8 | `,
9 |
10 | data() {
11 | return {
12 | items: ["First", "Second", "Third"]
13 | };
14 | }
15 | };
16 |
--------------------------------------------------------------------------------
/app/App_Resources/Android/drawable-nodpi/splash_screen.xml:
--------------------------------------------------------------------------------
1 |
2 | -
3 |
4 |
5 | -
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/elements/components/SegmentedBar.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | template: `
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | `
13 | };
14 |
--------------------------------------------------------------------------------
/app/elements/components/HtmlView.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | template: `
3 |
4 |
5 |
6 |
7 |
8 | `,
9 |
10 | data() {
11 | return {
12 | html: `
13 |
14 |
HtmlView
15 |
16 | `
17 | };
18 | }
19 | };
20 |
--------------------------------------------------------------------------------
/app/elements/components/ListView.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | template: `
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | `,
11 |
12 | data() {
13 | return {
14 | items: [{ text: "First" }, { text: "Second" }, { text: "Third" }]
15 | };
16 | }
17 | };
18 |
--------------------------------------------------------------------------------
/app/app.css:
--------------------------------------------------------------------------------
1 | .m-5 {
2 | margin: 5;
3 | }
4 |
5 | .m-10 {
6 | margin: 10;
7 | }
8 |
9 | .m-15 {
10 | margin: 15;
11 | }
12 |
13 | .m-20 {
14 | margin: 20;
15 | }
16 |
17 | .home-list Button {
18 | border-width: 1;
19 | border-color: #3e495c;
20 | border-radius: 4;
21 | margin: 6;
22 | font-size: 14;
23 | text-transform: none;
24 | height: 34;
25 | padding: 4 8;
26 | color: #fff;
27 | background-color: #52617a;
28 | }
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchScreen-Center.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchScreen-Center@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "scale" : "3x"
16 | }
17 | ],
18 | "info" : {
19 | "version" : 1,
20 | "author" : "xcode"
21 | }
22 | }
--------------------------------------------------------------------------------
/deploy.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | cd $HOME
4 |
5 | git config --global user.email "travis@travis-ci.org"
6 | git config --global user.name "Travis CI"
7 |
8 | git clone --quiet --branch=master https://${GITHUB_TOKEN}@github.com/rigor789/nativescript-vue-ui-tests.git deploy > /dev/null 2>&1
9 |
10 | cd deploy
11 | cp -R $TRAVIS_BUILD_DIR/screenshots .
12 |
13 | git add -f screenshots
14 | git commit --message "[Travis Screenshots: $TRAVIS_JOB_NUMBER] [skip ci]"
15 |
16 | git pull --force origin master
17 | git push --force origin master
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/icon.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "icon-40.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "icon-40@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "icon-40@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchScreen-AspectFill.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchScreen-AspectFill@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "scale" : "3x"
16 | }
17 | ],
18 | "info" : {
19 | "version" : 1,
20 | "author" : "xcode"
21 | }
22 | }
--------------------------------------------------------------------------------
/app/App_Resources/iOS/build.xcconfig:
--------------------------------------------------------------------------------
1 | // You can add custom settings here
2 | // for example you can uncomment the following line to force distribution code signing
3 | // CODE_SIGN_IDENTITY = iPhone Distribution
4 | // To build for device with Xcode 8 you need to specify your development team. More info: https://developer.apple.com/library/prerelease/content/releasenotes/DeveloperTools/RN-Xcode/Introduction.html
5 | // DEVELOPMENT_TEAM = YOUR_TEAM_ID;
6 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
7 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
8 |
--------------------------------------------------------------------------------
/appium.capabilities.json:
--------------------------------------------------------------------------------
1 | {
2 | "android23": {
3 | "platformName": "Android",
4 | "platformVersion": "6.0",
5 | "deviceName": "Android Emulator",
6 | "noReset": false,
7 | "appPackage": "org.nativescript.nativescriptvueuitests",
8 | "appActivity": "com.tns.NativeScriptActivity"
9 | },
10 | "ios-simulator103iPhone6": {
11 | "platformName": "iOS",
12 | "platformVersion": "10.3",
13 | "deviceName": "iPhone Simulator",
14 | "bundleId": "org.nativescript.nativescriptvueuitests",
15 | "app": ""
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/app/elements/components/TabView.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | template: `
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | `
19 | };
20 |
--------------------------------------------------------------------------------
/app/App_Resources/Android/app.gradle:
--------------------------------------------------------------------------------
1 | // Add your native dependencies here:
2 |
3 | // Uncomment to add recyclerview-v7 dependency
4 | //dependencies {
5 | // compile 'com.android.support:recyclerview-v7:+'
6 | //}
7 |
8 | android {
9 | defaultConfig {
10 | generatedDensities = []
11 | applicationId = "org.nativescript.nativescriptvueuitests"
12 |
13 | //override supported platforms
14 | // ndk {
15 | // abiFilters.clear()
16 | // abiFilters "armeabi-v7a"
17 | // }
18 |
19 | }
20 | aaptOptions {
21 | additionalParameters "--no-version-vectors"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/app/elements/components/WebView.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | template: `
3 |
4 |
5 |
6 |
7 |
8 | `,
9 |
10 | data() {
11 | return {
12 | src: `
13 |
14 |
15 |
16 | WebView
17 |
18 | And a paragraph...
19 |
20 |
24 |
25 |
26 | `
27 | };
28 | }
29 | };
30 |
--------------------------------------------------------------------------------
/app/App_Resources/Android/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
9 |
10 |
11 |
14 |
15 |
16 |
19 |
20 |
23 |
--------------------------------------------------------------------------------
/app/App_Resources/Android/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
16 |
17 |
18 |
19 |
20 |
21 |
27 |
28 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | ${PRODUCT_NAME}
9 | CFBundleExecutable
10 | ${EXECUTABLE_NAME}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | ${PRODUCT_NAME}
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIRequiresFullScreen
28 |
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 | UIInterfaceOrientationLandscapeRight
38 |
39 | UISupportedInterfaceOrientations~ipad
40 |
41 | UIInterfaceOrientationPortrait
42 | UIInterfaceOrientationPortraitUpsideDown
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "description": "NativeScript-Vue UI test application",
3 | "license": "MIT",
4 | "readme": "NativeScript-Vue UI test application",
5 | "repository": "",
6 | "nativescript": {
7 | "id": "org.nativescript.nativescriptvueuitests",
8 | "tns-ios": {
9 | "version": "5.3.1"
10 | },
11 | "tns-android": {
12 | "version": "5.3.1"
13 | }
14 | },
15 | "dependencies": {
16 | "appium": "^1.12.1",
17 | "nativescript-dev-appium": "^5.2.0",
18 | "nativescript-vue": "^2.2.0",
19 | "tns-core-modules": "^5.3.1",
20 | "yargs": "^9.0.1"
21 | },
22 | "scripts": {
23 | "appium": "node generate-screenshots.js",
24 | "android.build": "tns build android --bundle",
25 | "android.screenshots": "npm run appium -- --runType=android23",
26 | "ci.android.screenshots": "npm run appium -- --runType=android23 --sauceLab=true",
27 | "ci.ios.screenshots": "npm run appium -- --runType=ios-simulator103iPhone6",
28 | "deploy": "bash deploy.sh",
29 | "e2e": "mocha --opts ./e2e/config/mocha.opts",
30 | "ios.build": "tns build ios --bundle",
31 | "ios.screenshots": "npm run appium -- --runType=ios-simulator103iPhone6"
32 | },
33 | "devDependencies": {
34 | "babel-traverse": "6.26.0",
35 | "babel-types": "6.26.0",
36 | "babylon": "6.18.0",
37 | "lazy": "1.0.11",
38 | "@types/chai": "^4.0.2",
39 | "@types/mocha": "^2.2.41",
40 | "@types/node": "^7.0.5",
41 | "@babel/core": "~7.1.0",
42 | "@babel/preset-env": "~7.1.0",
43 | "babel-loader": "^8.0.5",
44 | "nativescript-dev-webpack": "^0.21.0",
45 | "nativescript-vue-template-compiler": "~2.2.0",
46 | "vue-loader": "~15.4.0"
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # NativeScript-Vue UI tests
2 | This project uses Appium to test Vue UI components, and also serves as a source for the
3 | component screenshots at [nativescript-vue.org](https://nativescript-vue.org/).
4 |
5 | ## System requirements
6 |
7 | * Node 7.6 or higher (for async function support).
8 | * The [Appium](http://appium.io/) client. Just download and install the latest [from GitHub](https://github.com/appium/appium-desktop/releases/latest) or execute the following command:
9 |
10 | ```bash
11 | npm install -g appium
12 | ```
13 |
14 | ### iOS requirements
15 |
16 | * Carthage:
17 |
18 | ```bash
19 | brew install carthage
20 | ````
21 |
22 | ## Running the tests locally
23 |
24 | Start Appium, which is
25 |
26 | * Using the desktop app, press 'Start the server'
27 | * Using the NPM package, execute `appium` on a terminal
28 |
29 | Otherwise you'll receive an error `127.0.0.1:4723` can't be reached.
30 |
31 | ### Android
32 |
33 | 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.
34 |
35 | Start the tests:
36 |
37 | ```bash
38 | npm run android.build
39 | adb install ./platforms/android/app/build/outputs/apk/debug/app-debug.apk
40 | npm run android.screenshots
41 | ```
42 |
43 | ### iOS
44 |
45 | Edit the `appium.capabilities.json` config file, in the `ios-simulator103iPhone6` section, with your device/emulators parameters.
46 |
47 | Build the iOS app
48 |
49 | ```bash
50 | npm run ios.build
51 | ```
52 |
53 | Start `XCode` and open the `platforms/ios/nativescriptvueuitests.xcodeproj` file.
54 |
55 | Run the app on the emulator. This is needed in order to have the app installed.
56 |
57 | Run the tests:
58 |
59 | ```bash
60 | npm run ios.screenshots
61 | ```
62 |
--------------------------------------------------------------------------------
/app/App_Resources/Android/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
18 |
19 |
21 |
22 |
23 |
31 |
32 |
34 |
35 |
36 |
42 |
43 |
45 |
46 |
--------------------------------------------------------------------------------
/app/elements/components/ScrollView.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | template: `
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 | `
50 | };
51 |
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "iphone",
5 | "size" : "20x20",
6 | "scale" : "2x"
7 | },
8 | {
9 | "idiom" : "iphone",
10 | "size" : "20x20",
11 | "scale" : "3x"
12 | },
13 | {
14 | "size" : "29x29",
15 | "idiom" : "iphone",
16 | "filename" : "icon-29.png",
17 | "scale" : "1x"
18 | },
19 | {
20 | "size" : "29x29",
21 | "idiom" : "iphone",
22 | "filename" : "icon-29@2x.png",
23 | "scale" : "2x"
24 | },
25 | {
26 | "size" : "29x29",
27 | "idiom" : "iphone",
28 | "filename" : "icon-29@3x.png",
29 | "scale" : "3x"
30 | },
31 | {
32 | "size" : "40x40",
33 | "idiom" : "iphone",
34 | "filename" : "icon-40@2x.png",
35 | "scale" : "2x"
36 | },
37 | {
38 | "size" : "40x40",
39 | "idiom" : "iphone",
40 | "filename" : "icon-40@3x.png",
41 | "scale" : "3x"
42 | },
43 | {
44 | "size" : "60x60",
45 | "idiom" : "iphone",
46 | "filename" : "icon-60@2x.png",
47 | "scale" : "2x"
48 | },
49 | {
50 | "size" : "60x60",
51 | "idiom" : "iphone",
52 | "filename" : "icon-60@3x.png",
53 | "scale" : "3x"
54 | },
55 | {
56 | "idiom" : "ipad",
57 | "size" : "20x20",
58 | "scale" : "1x"
59 | },
60 | {
61 | "idiom" : "ipad",
62 | "size" : "20x20",
63 | "scale" : "2x"
64 | },
65 | {
66 | "size" : "29x29",
67 | "idiom" : "ipad",
68 | "filename" : "icon-29.png",
69 | "scale" : "1x"
70 | },
71 | {
72 | "size" : "29x29",
73 | "idiom" : "ipad",
74 | "filename" : "icon-29@2x.png",
75 | "scale" : "2x"
76 | },
77 | {
78 | "size" : "40x40",
79 | "idiom" : "ipad",
80 | "filename" : "icon-40.png",
81 | "scale" : "1x"
82 | },
83 | {
84 | "size" : "40x40",
85 | "idiom" : "ipad",
86 | "filename" : "icon-40@2x.png",
87 | "scale" : "2x"
88 | },
89 | {
90 | "size" : "76x76",
91 | "idiom" : "ipad",
92 | "filename" : "icon-76.png",
93 | "scale" : "1x"
94 | },
95 | {
96 | "size" : "76x76",
97 | "idiom" : "ipad",
98 | "filename" : "icon-76@2x.png",
99 | "scale" : "2x"
100 | },
101 | {
102 | "size" : "83.5x83.5",
103 | "idiom" : "ipad",
104 | "filename" : "icon-83.5@2x.png",
105 | "scale" : "2x"
106 | },
107 | {
108 | "idiom" : "ios-marketing",
109 | "size" : "1024x1024",
110 | "scale" : "1x"
111 | }
112 | ],
113 | "info" : {
114 | "version" : 1,
115 | "author" : "xcode"
116 | }
117 | }
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | # Only run on the master branch
2 | branches:
3 | only:
4 | - master
5 |
6 | # Env variables
7 | env:
8 | global:
9 | - ANDROID_PACKAGE='nativescriptvueuitests-debug.apk'
10 | - ANDROID_PACKAGE_FOLDER=$TRAVIS_BUILD_DIR/platforms/android/build/outputs/apk
11 | - ANDROID_SAUCE_STORAGE="https://saucelabs.com/rest/v1/storage/$SAUCE_USER/$ANDROID_PACKAGE?overwrtie=true"
12 | - IOS_PACKAGE='nativescriptvueuitests.zip'
13 | - IOS_PACKAGE_FOLDER=$TRAVIS_BUILD_DIR/platforms/ios/build/emulator
14 | - IOS_SAUCE_STORAGE="https://saucelabs.com/rest/v1/storage/$SAUCE_USER/$IOS_PACKAGE?overwrite=true"
15 |
16 | # Android requirements
17 | android:
18 | components:
19 | - tools
20 | - platform-tools
21 | - build-tools-25.0.2
22 | - android-25
23 | - extra-android-m2repository
24 |
25 | # Caching configuration
26 | before_cache:
27 | - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
28 |
29 | cache:
30 | directories:
31 | - .nvm
32 | - $HOME/.gradle/caches/
33 | - $HOME/.gradle/wrapper/
34 |
35 | # Install steps (Install nativescript and disable reporting)
36 | install:
37 | - npm install -g nativescript --ignore-scripts
38 | - tns usage-reporting disable
39 | - tns error-reporting disable
40 |
41 | # The build matrix
42 | matrix:
43 | include:
44 | - stage: "Build"
45 | env:
46 | - BuildAndroid="25"
47 | language: android
48 | os: linux
49 | jdk: oraclejdk8
50 | before_install: nvm install 8.6.0
51 | script:
52 | - npm run android.build
53 | - "curl -u $SAUCE_USER:$SAUCE_KEY -X POST -H 'Content-Type: application/octet-stream' $ANDROID_SAUCE_STORAGE --data-binary @$ANDROID_PACKAGE_FOLDER/$ANDROID_PACKAGE"
54 | - os: osx
55 | env:
56 | - BuildiOS="10.3"
57 | - Xcode="8.3"
58 | osx_image: xcode8.3
59 | language: node_js
60 | node_js: "8"
61 | jdk: oraclejdk8
62 | script:
63 | - npm run ios.build
64 | - cd $IOS_PACKAGE_FOLDER && zip -r $IOS_PACKAGE nativescriptvueuitests.app/ &> /dev/null
65 | - echo $SAUCE_USER:$SAUCE_KEY
66 | - "curl -u $SAUCE_USER:$SAUCE_KEY -X POST -H 'Content-Type: application/octet-stream' $IOS_SAUCE_STORAGE --data-binary @$IOS_PACKAGE_FOLDER/$IOS_PACKAGE"
67 | - stage: "Screenshots"
68 | env:
69 | - Android="23"
70 | language: node_js
71 | os: linux
72 | node_js: "8"
73 | script:
74 | - npm install -g appium
75 | - npm install
76 | - appium &
77 | - travis_retry npm run appium -- --runType=android23 --sauceLab=true --appPath=$ANDROID_PACKAGE
78 | - npm run deploy
79 | - os: linux
80 | env:
81 | - iOS="10"
82 | language: node_js
83 | node_js: "8"
84 | script:
85 | - npm install -g appium
86 | - npm install
87 | - appium &
88 | - travis_wait travis_retry npm run appium -- --runType=ios-simulator103iPhone6 --sauceLab=true --appPath=$IOS_PACKAGE
89 | - npm run deploy
--------------------------------------------------------------------------------
/app/app.js:
--------------------------------------------------------------------------------
1 | const Vue = require("nativescript-vue");
2 |
3 | new Vue({
4 | data: {
5 | elements: [
6 | {
7 | name: "ActivityIndicator",
8 | component: () => require("./elements/components/ActivityIndicator")
9 | },
10 | {
11 | name: "Button",
12 | component: () => require("./elements/components/Button")
13 | },
14 | {
15 | name: "DatePicker",
16 | component: () => require("./elements/components/DatePicker")
17 | },
18 | {
19 | name: "HtmlView",
20 | component: () => require("./elements/components/HtmlView")
21 | },
22 | {
23 | name: "Image",
24 | component: () => require("./elements/components/Image")
25 | },
26 | {
27 | name: "Label",
28 | component: () => require("./elements/components/Label")
29 | },
30 | {
31 | name: "ListPicker",
32 | component: () => require("./elements/components/ListPicker")
33 | },
34 | {
35 | name: "ListView",
36 | component: () => require("./elements/components/ListView")
37 | },
38 | {
39 | name: "Progress",
40 | component: () => require("./elements/components/Progress")
41 | },
42 | {
43 | name: "ScrollView",
44 | component: () => require("./elements/components/ScrollView")
45 | },
46 | {
47 | name: "SearchBar",
48 | component: () => require("./elements/components/SearchBar")
49 | },
50 | {
51 | name: "SegmentedBar",
52 | component: () => require("./elements/components/SegmentedBar")
53 | },
54 | {
55 | name: "Slider",
56 | component: () => require("./elements/components/Slider")
57 | },
58 | {
59 | name: "Switch",
60 | component: () => require("./elements/components/Switch")
61 | },
62 | {
63 | name: "TabView",
64 | component: () => require("./elements/components/TabView")
65 | },
66 | {
67 | name: "TextField",
68 | component: () => require("./elements/components/TextField")
69 | },
70 | {
71 | name: "TextView",
72 | component: () => require("./elements/components/TextView")
73 | },
74 | {
75 | name: "TimePicker",
76 | component: () => require("./elements/components/TimePicker")
77 | },
78 | {
79 | name: "WebView",
80 | component: () => require("./elements/components/WebView")
81 | },
82 | {
83 | name: "ActionDialog",
84 | component: () => require("./elements/dialogs/Action")
85 | },
86 | {
87 | name: "AlertDialog",
88 | component: () => require("./elements/dialogs/Alert")
89 | },
90 | {
91 | name: "ConfirmDialog",
92 | component: () => require("./elements/dialogs/Confirm")
93 | },
94 | {
95 | name: "LoginDialog",
96 | component: () => require("./elements/dialogs/Login")
97 | },
98 | {
99 | name: "PromptDialog",
100 | component: () => require("./elements/dialogs/Prompt")
101 | }
102 | ]
103 | },
104 |
105 | methods: {
106 | showElement(element) {
107 | this.$navigateTo(element.component());
108 | }
109 | },
110 |
111 | template: `
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 | `
121 | }).$start();
122 |
--------------------------------------------------------------------------------
/generate-screenshots.js:
--------------------------------------------------------------------------------
1 | const argv = require('yargs').argv;
2 | const AppiumDriver = require('nativescript-dev-appium').AppiumDriver;
3 | const DeviceManager = require('nativescript-dev-appium').DeviceManager;
4 | const NsCapabilities = require('nativescript-dev-appium/lib/ns-capabilities').NsCapabilities;
5 | const fs = require('fs');
6 | const components = [
7 | 'ActivityIndicator',
8 | 'Button',
9 | 'DatePicker',
10 | 'HtmlView',
11 | 'Image',
12 | 'Label',
13 | 'ListPicker',
14 | 'ListView',
15 | 'Progress',
16 | 'ScrollView',
17 | 'SearchBar',
18 | 'SegmentedBar',
19 | 'Slider',
20 | 'Switch',
21 | 'TabView',
22 | 'TextField',
23 | 'TextView',
24 | 'TimePicker',
25 | 'WebView',
26 | 'ActionDialog',
27 | 'AlertDialog',
28 | 'ConfirmDialog',
29 | 'LoginDialog',
30 | 'PromptDialog',
31 | ];
32 |
33 | const makeDir = (path) => {
34 | if (!fs.existsSync(path)) {
35 | fs.mkdirSync(path);
36 | }
37 | };
38 |
39 | (async function () {
40 | makeDir('screenshots');
41 | makeDir(`screenshots/${argv.runType}`);
42 |
43 | const appiumCaps = require('./appium.capabilities.json')[argv.runType];
44 | let args = new NsCapabilities({
45 | port: 4723,
46 | isSauceLab: argv.sauceLab || false,
47 | runType: argv.runType,
48 | appPath: argv.appPath, //'nativescriptvueuitests-debug.apk',
49 | appiumCaps: appiumCaps,
50 | verbose: argv.verbose || false,
51 | validateArgs: () => {},
52 | })
53 | // Hack to fix a `Cannot read property 'token' of undefined` error
54 | // See https://github.com/NativeScript/nativescript-dev-appium/issues/142
55 | if (args.isAndroid) {
56 | args.device = DeviceManager.getDefaultDevice(args, appiumCaps.avd);
57 | } else {
58 | args.device = DeviceManager.getDefaultDevice(args);
59 | }
60 |
61 | AppiumDriver.createAppiumDriver(args)
62 | .then(driver => run(driver))
63 | .then(() => console.log('Buh-Bye...'))
64 | .catch((err) => console.log(err));
65 | })();
66 |
67 | const run = async (driver) => {
68 | for (let component of components) {
69 | await screenshotComponent(driver, component)
70 | }
71 | await driver.quit();
72 | };
73 |
74 | const screenshotComponent = async (driver, component) => {
75 | console.log(`[${argv.runType}] >>>>> ${component} >>>>>`);
76 |
77 | const isIOS = argv.runType.toLowerCase().indexOf("ios") > -1;
78 |
79 | let listItem;
80 | if (isIOS) {
81 | listItem = await driver.findElementByText(component);
82 | } else {
83 | listItem = await driver.findElementByXPath(`//*[contains(@text,'${component}')]`);
84 | }
85 |
86 | await listItem.tap();
87 |
88 | await driver._driver.sleep(1000);
89 |
90 | if (component === 'HtmlView' || component === 'WebView') {
91 | await driver._driver.sleep(4000);
92 | }
93 |
94 | await driver.takeScreenshot(`screenshots/${argv.runType}/${component}.png`);
95 |
96 | if (component.includes('Dialog')) {
97 | if (isIOS) {
98 | await driver._driver.sleep(1000);
99 | const button = component === "ActionDialog" ? "cancel" : "OK";
100 | const dialogItem = await driver.findElementByText(button, 1); // 1 = 'contains'
101 | if (dialogItem) {
102 | dialogItem.tap();
103 | await driver._driver.sleep(1500);
104 | } else {
105 | console.log("Could not find button to dismiss the dialog!");
106 | }
107 | } else {
108 | await driver.navBack();
109 | }
110 | }
111 |
112 | await driver.navBack();
113 |
114 | if (component === 'SearchBar' && argv.runType.toLowerCase().indexOf('android') > -1) {
115 | await driver.navBack();
116 | }
117 | };
--------------------------------------------------------------------------------
/app/App_Resources/iOS/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "extent" : "full-screen",
5 | "idiom" : "iphone",
6 | "subtype" : "736h",
7 | "filename" : "Default-736h@3x.png",
8 | "minimum-system-version" : "8.0",
9 | "orientation" : "portrait",
10 | "scale" : "3x"
11 | },
12 | {
13 | "extent" : "full-screen",
14 | "idiom" : "iphone",
15 | "subtype" : "736h",
16 | "filename" : "Default-Landscape@3x.png",
17 | "minimum-system-version" : "8.0",
18 | "orientation" : "landscape",
19 | "scale" : "3x"
20 | },
21 | {
22 | "extent" : "full-screen",
23 | "idiom" : "iphone",
24 | "subtype" : "667h",
25 | "filename" : "Default-667h@2x.png",
26 | "minimum-system-version" : "8.0",
27 | "orientation" : "portrait",
28 | "scale" : "2x"
29 | },
30 | {
31 | "orientation" : "portrait",
32 | "idiom" : "iphone",
33 | "filename" : "Default@2x.png",
34 | "extent" : "full-screen",
35 | "minimum-system-version" : "7.0",
36 | "scale" : "2x"
37 | },
38 | {
39 | "extent" : "full-screen",
40 | "idiom" : "iphone",
41 | "subtype" : "retina4",
42 | "filename" : "Default-568h@2x.png",
43 | "minimum-system-version" : "7.0",
44 | "orientation" : "portrait",
45 | "scale" : "2x"
46 | },
47 | {
48 | "orientation" : "portrait",
49 | "idiom" : "ipad",
50 | "filename" : "Default-Portrait.png",
51 | "extent" : "full-screen",
52 | "minimum-system-version" : "7.0",
53 | "scale" : "1x"
54 | },
55 | {
56 | "orientation" : "landscape",
57 | "idiom" : "ipad",
58 | "filename" : "Default-Landscape.png",
59 | "extent" : "full-screen",
60 | "minimum-system-version" : "7.0",
61 | "scale" : "1x"
62 | },
63 | {
64 | "orientation" : "portrait",
65 | "idiom" : "ipad",
66 | "filename" : "Default-Portrait@2x.png",
67 | "extent" : "full-screen",
68 | "minimum-system-version" : "7.0",
69 | "scale" : "2x"
70 | },
71 | {
72 | "orientation" : "landscape",
73 | "idiom" : "ipad",
74 | "filename" : "Default-Landscape@2x.png",
75 | "extent" : "full-screen",
76 | "minimum-system-version" : "7.0",
77 | "scale" : "2x"
78 | },
79 | {
80 | "orientation" : "portrait",
81 | "idiom" : "iphone",
82 | "filename" : "Default.png",
83 | "extent" : "full-screen",
84 | "scale" : "1x"
85 | },
86 | {
87 | "orientation" : "portrait",
88 | "idiom" : "iphone",
89 | "filename" : "Default@2x.png",
90 | "extent" : "full-screen",
91 | "scale" : "2x"
92 | },
93 | {
94 | "orientation" : "portrait",
95 | "idiom" : "iphone",
96 | "filename" : "Default-568h@2x.png",
97 | "extent" : "full-screen",
98 | "subtype" : "retina4",
99 | "scale" : "2x"
100 | },
101 | {
102 | "orientation" : "portrait",
103 | "idiom" : "ipad",
104 | "extent" : "to-status-bar",
105 | "scale" : "1x"
106 | },
107 | {
108 | "orientation" : "portrait",
109 | "idiom" : "ipad",
110 | "filename" : "Default-Portrait.png",
111 | "extent" : "full-screen",
112 | "scale" : "1x"
113 | },
114 | {
115 | "orientation" : "landscape",
116 | "idiom" : "ipad",
117 | "extent" : "to-status-bar",
118 | "scale" : "1x"
119 | },
120 | {
121 | "orientation" : "landscape",
122 | "idiom" : "ipad",
123 | "filename" : "Default-Landscape.png",
124 | "extent" : "full-screen",
125 | "scale" : "1x"
126 | },
127 | {
128 | "orientation" : "portrait",
129 | "idiom" : "ipad",
130 | "extent" : "to-status-bar",
131 | "scale" : "2x"
132 | },
133 | {
134 | "orientation" : "portrait",
135 | "idiom" : "ipad",
136 | "filename" : "Default-Portrait@2x.png",
137 | "extent" : "full-screen",
138 | "scale" : "2x"
139 | },
140 | {
141 | "orientation" : "landscape",
142 | "idiom" : "ipad",
143 | "extent" : "to-status-bar",
144 | "scale" : "2x"
145 | },
146 | {
147 | "orientation" : "landscape",
148 | "idiom" : "ipad",
149 | "filename" : "Default-Landscape@2x.png",
150 | "extent" : "full-screen",
151 | "scale" : "2x"
152 | }
153 | ],
154 | "info" : {
155 | "version" : 1,
156 | "author" : "xcode"
157 | }
158 | }
--------------------------------------------------------------------------------