Skip to content

Commit

Permalink
test: update initTimeout and mocha timeout further for iOS 17+
Browse files Browse the repository at this point in the history
  • Loading branch information
mwakizaka committed Jan 22, 2024
1 parent 44f2f9e commit fab6794
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/functional/desired.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
2 changes: 1 addition & 1 deletion test/functional/helpers/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fab6794

Please sign in to comment.