From 041b824d213379db859de683973063d9d8920354 Mon Sep 17 00:00:00 2001 From: Ivan Vershigora Date: Mon, 9 Dec 2024 11:24:53 +0000 Subject: [PATCH] fix: always use iphone 15 for detox iOS tests --- .detoxrc.js | 5 +---- .github/workflows/e2e-ios.yml | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.detoxrc.js b/.detoxrc.js index a8c50e54f..d292c072b 100644 --- a/.detoxrc.js +++ b/.detoxrc.js @@ -1,6 +1,3 @@ -// run iPhone 14 on local machine, iPhone 15 Pro on mac mini -const iOSDevice = process.env.MACMINI ? 'iPhone 15 Pro' : 'iPhone 14'; - const reversePorts = [3003, 8080, 8081, 9735, 10009, 28334, 28335, 28336, 30001, 39388, 43782, 60001]; /** @type {Detox.DetoxConfig} */ @@ -47,7 +44,7 @@ module.exports = { simulator: { type: 'ios.simulator', device: { - type: iOSDevice, + type: 'iPhone 15', }, }, emulator: { diff --git a/.github/workflows/e2e-ios.yml b/.github/workflows/e2e-ios.yml index 229f4acca..cad63c5a4 100644 --- a/.github/workflows/e2e-ios.yml +++ b/.github/workflows/e2e-ios.yml @@ -11,7 +11,6 @@ concurrency: env: E2E_TESTS: 1 # build without transform-remove-console babel plugin DEBUG: 'lnurl* lnurl server' - MACMINI: 1 # use iPhone 15 in .detoxrc jobs: e2e: