From 307f5396748c17b2f239756d178c808c07ec4801 Mon Sep 17 00:00:00 2001 From: Dimitar Todorov Date: Mon, 19 Aug 2019 15:12:31 +0300 Subject: [PATCH] Add android28 to capabilities. Update test run. --- .travis.yml | 6 +++--- tests/e2e/config/appium.capabilities.json | 7 +++++++ tests/package.json | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0c4d35c..ff443f0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -117,7 +117,7 @@ matrix: script: - npm i -g appium - cd tests && npm i - - travis_wait travis_retry npm run e2e -- --runType android24 --sauceLab --appPath $ANDROID_PACKAGE_JS + - travis_wait travis_retry npm run e2e -- --runType android28 --sauceLab --appPath $ANDROID_PACKAGE_JS - os: linux env: - Android="24" @@ -128,7 +128,7 @@ matrix: script: - npm i -g appium - cd tests && npm i - - travis_wait travis_retry npm run e2e -- --runType android24 --sauceLab --appPath $ANDROID_PACKAGE_VUE + - travis_wait travis_retry npm run e2e -- --runType android28 --sauceLab --appPath $ANDROID_PACKAGE_VUE - os: linux env: - Android="24" @@ -139,7 +139,7 @@ matrix: script: - npm i -g appium - cd tests && npm i - - travis_wait travis_retry npm run e2e -- --runType android24 --sauceLab --appPath $ANDROID_PACKAGE_NG + - travis_wait travis_retry npm run e2e -- --runType android28 --sauceLab --appPath $ANDROID_PACKAGE_NG - os: linux env: - iOS="12.0" diff --git a/tests/e2e/config/appium.capabilities.json b/tests/e2e/config/appium.capabilities.json index 67a57ef..dd5f0a0 100644 --- a/tests/e2e/config/appium.capabilities.json +++ b/tests/e2e/config/appium.capabilities.json @@ -80,6 +80,13 @@ "fullReset": false, "app": "" }, + "android28": { + "platformName": "Android", + "platformVersion": "9.0", + "deviceName": "Android GoogleAPI Emulator", + "appiumVersion": "1.9.1", + "noReset": true + }, "sim.iPhone7.iOS100": { "platformName": "iOS", "platformVersion": "10.0", diff --git a/tests/package.json b/tests/package.json index c01c8bb..4f29bee 100644 --- a/tests/package.json +++ b/tests/package.json @@ -10,7 +10,7 @@ "karma-nativescript-launcher": "^0.4.0", "mocha": "^3.3.0", "mocha-junit-reporter": "^1.18.0", - "mocha-multi": "^1.0.1", + "mocha-multi": "1.1.0", "mochawesome": "^3.1.1", "nativescript-dev-appium": "~5.2.0", "typescript": "~3.5.3"