Skip to content

Commit 8736238

Browse files
antonisclaude
andcommitted
fix(e2e): Restore Settings.app warm-up for sample-application workflow
The sample-application workflow uses its own test runner (maestro.ts) and doesn't go through cli.mjs, so it doesn't benefit from the Maestro warm-up flow. Restore the Settings.app warm-up step with the proper platform-check skip guard to keep it resilient against Tart VM timing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7959d95 commit 8736238

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/sample-application.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,15 @@ jobs:
361361
wait_for_boot: true
362362
erase_before_boot: false
363363

364+
- name: Warm up iOS Simulator
365+
if: ${{ steps.platform-check.outputs.skip != 'true' && matrix.platform == 'ios' }}
366+
run: |
367+
# Tart VMs are slow after boot. Launch a stock app so SpringBoard
368+
# and system services finish post-boot init before tests start.
369+
xcrun simctl launch booted com.apple.Preferences || true
370+
sleep 5
371+
xcrun simctl terminate booted com.apple.Preferences || true
372+
364373
- name: Run iOS Tests
365374
if: ${{ steps.platform-check.outputs.skip != 'true' && matrix.platform == 'ios' }}
366375
working-directory: ${{ env.REACT_NATIVE_SAMPLE_PATH }}

0 commit comments

Comments
 (0)