Skip to content

Commit 65e72c3

Browse files
Merge pull request #206 from NativeScript/dtodorov/add-android28-saucelab
Add android28 in capabilities. Update tests builds to run on android28.
2 parents 87bcaec + f60363c commit 65e72c3

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ matrix:
116116
script:
117117
- npm i -g appium
118118
- cd tests && npm i
119-
- travis_wait travis_retry npm run e2e -- --runType android24 --sauceLab --appPath $ANDROID_PACKAGE_JS
119+
- travis_wait travis_retry npm run e2e -- --runType android28 --sauceLab --appPath $ANDROID_PACKAGE_JS
120120
- os: linux
121121
env:
122122
- Android="24"
@@ -127,7 +127,7 @@ matrix:
127127
script:
128128
- npm i -g appium
129129
- cd tests && npm i
130-
- travis_wait travis_retry npm run e2e -- --runType android24 --sauceLab --appPath $ANDROID_PACKAGE_VUE
130+
- travis_wait travis_retry npm run e2e -- --runType android28 --sauceLab --appPath $ANDROID_PACKAGE_VUE
131131
- os: linux
132132
env:
133133
- iOS="12.0"
@@ -158,7 +158,7 @@ matrix:
158158
script:
159159
- npm i -g appium
160160
- cd tests && npm i
161-
- travis_wait travis_retry npm run e2e -- --runType android24 --sauceLab --appPath $ANDROID_PACKAGE_NG
161+
- travis_wait travis_retry npm run e2e -- --runType android28 --sauceLab --appPath $ANDROID_PACKAGE_NG
162162
- os: linux
163163
env:
164164
- iOS="12.0"

tests/e2e/config/appium.capabilities.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@
4343
"appium-version": "1.7.1",
4444
"noReset": true
4545
},
46+
"android28": {
47+
"platformName": "Android",
48+
"platformVersion": "9.0",
49+
"deviceName": "Android GoogleAPI Emulator",
50+
"appiumVersion": "1.9.1",
51+
"noReset": true
52+
},
4653
"sim11iPhone6": {
4754
"platformName": "iOS",
4855
"platformVersion": "11.0",

tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"karma-nativescript-launcher": "^0.4.0",
1111
"mocha": "^3.3.0",
1212
"mocha-junit-reporter": "^1.18.0",
13-
"mocha-multi": "^1.0.1",
13+
"mocha-multi": "1.1.0",
1414
"mochawesome": "^3.1.1",
1515
"nativescript-dev-appium": "~5.2.0",
1616
"typescript": "~3.5.3"

0 commit comments

Comments
 (0)