Skip to content

ci(ios): bump Detox to 20.51.4 and run e2e tests on CI - #4379

Merged
mfazekas merged 3 commits into
mainfrom
ci/detox-ios-e2e
Oct 21, 2026
Merged

mfazekas merged 3 commits into
mainfrom
ci/detox-ios-e2e

Conversation

@mfazekas

@mfazekas mfazekas commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Description

Bumps Detox to 20.51.4 and turns the iOS Detox step back on. It was skipped for new arch and for Mapbox (SKIP_TESTS_NO_METAL), but GitHub's arm64 macOS runners render Mapbox in the iOS Simulator fine, so both skips are removed. The job stays on macos-15 (arm64); the -intel images have Metal hangs (actions/runner-images#14836).

  • CI runs only e2e/firstTest.e2e.js; docScreenshots stays manual.
  • scripts/ci/pick-ios-simulator.sh picks a plain iPhone on the newest runtime of the image instead of the hardcoded iPhone SE, and the step boots it before the tests.
  • New E2E example group (not part of the docs) with a map that shows a e2e-map-loaded element after onDidFinishLoadingMap, so the test waits for the map to actually load.
  • The app target no longer excludes arm64 for the simulator: iOS 26 simulators refuse x86_64 apps. The CI build is arm64 only.
  • When node_modules comes from the cache, Detox's postinstall doesn't run, so the job builds the Detox framework cache itself. Otherwise every cached run fails with "Detox.framework could not be found".
  • The applesimutils install is retried, after a transient 500 from GitHub releases.

Checklist

  • I've read CONTRIBUTING.md
  • I updated the doc/other generated code with running yarn generate in the root folder
  • I have tested the new feature on /example app.
    • In V11 mode/ios
    • In New Architecture mode/ios
    • In V11 mode/android
    • In New Architecture mode/android
  • I added/updated a sample - if a new feature was implemented (/example)

Screenshot OR Video

Local run (iPhone 17, iOS 26.5): 4/4 tests passed in 44 s.

GitHub's arm64 macOS runners render Mapbox in the iOS Simulator, so the
Detox step no longer needs to be skipped. The app target no longer excludes
arm64 for the simulator, since iOS 26 simulators can't install x86_64 apps.
@mfazekas
mfazekas merged commit bc68d4e into main Oct 21, 2026
27 checks passed
@mfazekas
mfazekas deleted the ci/detox-ios-e2e branch October 21, 2026 19:32

This branch was previously deployed

1 inactive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant