Skip to content

Commit 68541ca

Browse files
committed
use iphone 16 and 18.6
1 parent b16f028 commit 68541ca

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5555
CHATWOOT_API: ${{ secrets.CHATWOOT_API }}
5656
SIMULATOR_NAME: "iPhone 16"
57-
OS_VERSION: "latest"
57+
OS_VERSION: "18.6"
5858
GEO: false
5959
run: |
6060
echo "=== Building iOS app ==="
@@ -147,7 +147,7 @@ jobs:
147147
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
148148
CHATWOOT_API: ${{ secrets.CHATWOOT_API }}
149149
SIMULATOR_NAME: "iPhone 16"
150-
OS_VERSION: "latest"
150+
OS_VERSION: "18.6"
151151
GEO: false
152152
E2E_BACKEND: network
153153
E2E_NETWORK: regtest
@@ -242,6 +242,9 @@ jobs:
242242
working-directory: bitkit-e2e-tests
243243
run: npm ci
244244

245+
- name: List available simulators
246+
run: xcrun simctl list devices available
247+
245248

246249
- name: Docker info
247250
run: |
@@ -295,7 +298,7 @@ jobs:
295298
run: ./ci_run_ios.sh --mochaOpts.grep '${{ matrix.shard.grep }}'
296299
env:
297300
SIMULATOR_NAME: "iPhone 16"
298-
SIMULATOR_OS_VERSION: "26.0.1"
301+
SIMULATOR_OS_VERSION: "18.6"
299302
RECORD_VIDEO: true
300303
ATTEMPT: 1
301304

@@ -307,7 +310,7 @@ jobs:
307310
run: ./ci_run_ios.sh --mochaOpts.grep "${{ matrix.shard.grep }}"
308311
env:
309312
SIMULATOR_NAME: "iPhone 16"
310-
SIMULATOR_OS_VERSION: "26.0.1"
313+
SIMULATOR_OS_VERSION: "18.6"
311314
RECORD_VIDEO: true
312315
ATTEMPT: 2
313316

@@ -318,7 +321,7 @@ jobs:
318321
run: ./ci_run_ios.sh --mochaOpts.grep "${{ matrix.shard.grep }}"
319322
env:
320323
SIMULATOR_NAME: "iPhone 16"
321-
SIMULATOR_OS_VERSION: "26.0.1"
324+
SIMULATOR_OS_VERSION: "18.6"
322325
RECORD_VIDEO: true
323326
ATTEMPT: 3
324327

@@ -390,21 +393,20 @@ jobs:
390393
working-directory: bitkit-e2e-tests
391394
run: npm ci
392395

396+
- name: List available simulators
397+
run: xcrun simctl list devices available
398+
393399

394400
- name: Clear previous E2E artifacts
395401
working-directory: bitkit-e2e-tests
396402
run: |
397403
rm -rf artifacts/
398404
rm -rf /tmp/lock/
399405
400-
- name: Clear iOS Simulator environment
406+
- name: Boot Simulator
401407
run: |
402-
echo "🔧 Shutting down all running iOS simulators..."
403-
xcrun simctl shutdown all || true
404-
echo "🔧 Erasing target simulator: iPhone 16..."
405-
xcrun simctl erase "iPhone 16" || true
406-
echo "🔧 Disabling iOS Simulator notifications..."
407-
defaults write com.apple.iphonesimulator DisableAllNotifications -bool true
408+
xcrun simctl boot "iPhone 16" || true
409+
xcrun simctl erase "iPhone 16"
408410
409411
- name: Run E2E Tests 1 (${{ matrix.shard.name }})
410412
continue-on-error: true
@@ -414,7 +416,7 @@ jobs:
414416
env:
415417
BACKEND: regtest
416418
SIMULATOR_NAME: "iPhone 16"
417-
SIMULATOR_OS_VERSION: "26.0.1"
419+
SIMULATOR_OS_VERSION: "18.6"
418420
RECORD_VIDEO: true
419421
ATTEMPT: 1
420422

@@ -427,7 +429,7 @@ jobs:
427429
env:
428430
BACKEND: regtest
429431
SIMULATOR_NAME: "iPhone 16"
430-
SIMULATOR_OS_VERSION: "26.0.1"
432+
SIMULATOR_OS_VERSION: "18.6"
431433
RECORD_VIDEO: true
432434
ATTEMPT: 2
433435

@@ -439,7 +441,7 @@ jobs:
439441
env:
440442
BACKEND: regtest
441443
SIMULATOR_NAME: "iPhone 16"
442-
SIMULATOR_OS_VERSION: "26.0.1"
444+
SIMULATOR_OS_VERSION: "18.6"
443445
RECORD_VIDEO: true
444446
ATTEMPT: 3
445447

0 commit comments

Comments
 (0)