diff --git a/.github/workflows/test-mobile-e2e-reusable.yml b/.github/workflows/test-mobile-e2e-reusable.yml index 419dd0f175f..fedac36fbb2 100644 --- a/.github/workflows/test-mobile-e2e-reusable.yml +++ b/.github/workflows/test-mobile-e2e-reusable.yml @@ -116,13 +116,6 @@ jobs: run: | ID=$(xcrun simctl create "iPhone 14" "iPhone 14") echo "id=$ID" >> $GITHUB_OUTPUT - xcrun simctl create "iPhone 14" "iPhone 14" - xcrun simctl create "iPhone 14" "iPhone 14" - xcrun simctl create "iPhone 14" "iPhone 14" - xcrun simctl create "iPhone 14" "iPhone 14" - xcrun simctl create "iPhone 14" "iPhone 14" - xcrun simctl create "iPhone 14" "iPhone 14" - xcrun simctl create "iPhone 14" "iPhone 14" - name: Build iOS app for Detox test run if: steps.detox-build.outputs.cache-hit != 'true' run: pnpm mobile e2e:ci -p ios -b diff --git a/apps/ledger-live-mobile/scripts/e2e-ci.mjs b/apps/ledger-live-mobile/scripts/e2e-ci.mjs index fe1bba50394..0dbadbd7eee 100755 --- a/apps/ledger-live-mobile/scripts/e2e-ci.mjs +++ b/apps/ledger-live-mobile/scripts/e2e-ci.mjs @@ -35,7 +35,7 @@ const bundle_ios_with_cache = async () => { }; const test_ios = async () => { - await $`echo 'Starting detox tests with 8 workers...' && pnpm mobile e2e:test${speculos} \ + await $`echo 'Starting detox tests with 2 workers...' && pnpm mobile e2e:test${speculos} \ -c ios.sim.release \ --loglevel error \ --record-logs all \ @@ -44,7 +44,8 @@ const test_ios = async () => { --headless \ --retries 1 \ --cleanup \ - --maxWorkers 8`; + --maxWorkers 2 \ + --spec 'e2e/specs/onboarding.spec.ts'`; }; const build_android = async () => {