Skip to content

Commit a24c84b

Browse files
DimitarTodorovelena-p
authored andcommitted
Add android28 to capabilities. Update test run. (#218)
1 parent 9e9ad65 commit a24c84b

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
@@ -117,7 +117,7 @@ matrix:
117117
script:
118118
- npm i -g appium
119119
- cd tests && npm i
120-
- travis_wait travis_retry npm run e2e -- --runType android24 --sauceLab --appPath $ANDROID_PACKAGE_JS
120+
- travis_wait travis_retry npm run e2e -- --runType android28 --sauceLab --appPath $ANDROID_PACKAGE_JS
121121
- os: linux
122122
env:
123123
- Android="24"
@@ -128,7 +128,7 @@ matrix:
128128
script:
129129
- npm i -g appium
130130
- cd tests && npm i
131-
- travis_wait travis_retry npm run e2e -- --runType android24 --sauceLab --appPath $ANDROID_PACKAGE_VUE
131+
- travis_wait travis_retry npm run e2e -- --runType android28 --sauceLab --appPath $ANDROID_PACKAGE_VUE
132132
- os: linux
133133
env:
134134
- Android="24"
@@ -139,7 +139,7 @@ matrix:
139139
script:
140140
- npm i -g appium
141141
- cd tests && npm i
142-
- travis_wait travis_retry npm run e2e -- --runType android24 --sauceLab --appPath $ANDROID_PACKAGE_NG
142+
- travis_wait travis_retry npm run e2e -- --runType android28 --sauceLab --appPath $ANDROID_PACKAGE_NG
143143
- os: linux
144144
env:
145145
- iOS="12.0"

tests/e2e/config/appium.capabilities.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@
8080
"fullReset": false,
8181
"app": ""
8282
},
83+
"android28": {
84+
"platformName": "Android",
85+
"platformVersion": "9.0",
86+
"deviceName": "Android GoogleAPI Emulator",
87+
"appiumVersion": "1.9.1",
88+
"noReset": true
89+
},
8390
"sim.iPhone7.iOS100": {
8491
"platformName": "iOS",
8592
"platformVersion": "10.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)