From fab6794de66bfb24d6a0713282dd9a79716dea28 Mon Sep 17 00:00:00 2001 From: mwakizaka <21286384+mwakizaka@users.noreply.github.com> Date: Tue, 9 Jan 2024 19:40:48 +0900 Subject: [PATCH] test: update initTimeout and mocha timeout further for iOS 17+ --- test/functional/desired.js | 2 +- test/functional/helpers/session.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/desired.js b/test/functional/desired.js index c806a14c8..acbb57b6f 100644 --- a/test/functional/desired.js +++ b/test/functional/desired.js @@ -42,7 +42,7 @@ const APPS = { }; const initTimeout = 60 * 1000 * (process.env.CI ? - util.compareVersions(PLATFORM_VERSION, '>=', '17.0') ? 32 : 16 + util.compareVersions(PLATFORM_VERSION, '>=', '17.0') ? 48 : 16 : 4); const GENERIC_CAPS = node.deepFreeze({ alwaysMatch: { diff --git a/test/functional/helpers/session.js b/test/functional/helpers/session.js index 139d61caa..4fd6b30a0 100644 --- a/test/functional/helpers/session.js +++ b/test/functional/helpers/session.js @@ -7,7 +7,7 @@ const HOST = process.env.APPIUM_TEST_SERVER_HOST || '127.0.0.1'; const PORT = parseInt(String(process.env.APPIUM_TEST_SERVER_PORT), 10) || 4567; // on CI the timeout needs to be long, mostly so WDA can be built the first time const MOCHA_TIMEOUT = 60 * 1000 * (process.env.CI ? - util.compareVersions(PLATFORM_VERSION, '>=', '17.0') ? 32 : 16 + util.compareVersions(PLATFORM_VERSION, '>=', '17.0') ? 48 : 16 : 4); let driver;