From a259ac82bad9a07be257d386041d24d7d8dc4083 Mon Sep 17 00:00:00 2001 From: Dimitar Todorov Date: Fri, 16 Aug 2019 17:44:15 +0300 Subject: [PATCH 1/2] Add capabilities for android28 and update travis.yml --- .travis.yml | 6 +++--- tests/e2e/config/appium.capabilities.json | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0033659..ff14e9c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -116,7 +116,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" @@ -127,7 +127,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: - iOS="12.0" @@ -158,7 +158,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 48f01d4..d14c879 100644 --- a/tests/e2e/config/appium.capabilities.json +++ b/tests/e2e/config/appium.capabilities.json @@ -43,6 +43,13 @@ "appium-version": "1.7.1", "noReset": true }, + "android28": { + "platformName": "Android", + "platformVersion": "9.0", + "deviceName": "Android GoogleAPI Emulator", + "appiumVersion": "1.9.1", + "noReset": true + }, "sim11iPhone6": { "platformName": "iOS", "platformVersion": "11.0", From f60363cdd4ee1583918115d3d40937f86a7129d7 Mon Sep 17 00:00:00 2001 From: Dimitar Todorov Date: Mon, 19 Aug 2019 14:45:29 +0300 Subject: [PATCH 2/2] Fix: mocha-multi --- tests/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/package.json b/tests/package.json index d18cc58..932bab7 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"