From fec2c2929202ad57e36639ed5ac3d143c248c57d Mon Sep 17 00:00:00 2001 From: kobenguyent Date: Wed, 1 Nov 2023 14:27:03 +0100 Subject: [PATCH] fix: deprecate appium 1.x --- test/helper/AppiumV2Web_test.js | 4 +++- test/helper/AppiumV2_test.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/test/helper/AppiumV2Web_test.js b/test/helper/AppiumV2Web_test.js index ae61a022f..67e0e050e 100644 --- a/test/helper/AppiumV2Web_test.js +++ b/test/helper/AppiumV2Web_test.js @@ -15,7 +15,9 @@ describe('Appium Web', function () { browser: 'chrome', restart: false, desiredCapabilities: { - appiumVersion: '2.0.0', + 'sauce:options': { + appiumVersion: '2.0.0', + }, recordVideo: 'false', recordScreenshots: 'false', platformName: 'Android', diff --git a/test/helper/AppiumV2_test.js b/test/helper/AppiumV2_test.js index 29a76cb36..22e00e826 100644 --- a/test/helper/AppiumV2_test.js +++ b/test/helper/AppiumV2_test.js @@ -21,7 +21,9 @@ describe('Appium', function () { app: apk_path, appiumV2: true, desiredCapabilities: { - appiumVersion: '2.0.0', + 'sauce:options': { + appiumVersion: '2.0.0', + }, browserName: '', recordVideo: 'false', recordScreenshots: 'false',