Skip to content

Flaky iOS Expo E2E: Detox hangs after app launch until the 12 min test timeout #498

Closed

Description

@KisaneNeko

The AppleApp Expo E2E jobs fail every now and then on a Jest timeout. It's not the same test every time and it happens on both Expo 57 and Expo 58. Packaging and the Xcode builds pass, so it looks like a Detox / simulator problem rather than the app being broken.

What the logs show: Detox launches the app and starts the XCUITest runner, and then there's nothing for ~12 minutes until The app has not responded to the network requests below and the 720s test timeout. The next test relaunches the app and passes just fine.

Failed runs:

Each hang also costs ~12 min of a macOS runner, which makes it worse.

Ideas:

  • check what the app is doing during the hang (simulator logs / Detox artifacts for the failing test)
  • lower the per-test timeout so a hang fails fast instead of burning 12 min
  • retry the failed test once with jest.retryTimes until we find the root cause

Activity

  1. KisaneNeko commented on Oct 21, 2026

    @KisaneNeko
    ContributorAuthor

    Fix merged

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions