Skip to content

E2E iOS: the camera permission test and the first userEvent.type test take up to 10 s on the macOS runner and time out at the playground's 10 s testTimeout #303

Open

Description

@YevheniiKotyrlo

Describe the bug

On the E2E workflow's iOS job, two playground tests run up to the playground's 10 s testTimeout (apps/playground/rn-harness.config.mjs; the workflow sets no HARNESS_TEST_TIMEOUT) and fail now and then with Test timed out after 10000ms:

  • permissions.harness.tsx › "should allow camera permissions when requested", which itself waits up to 30 s for the permission (waitUntil(() => latestStatus === 'authorized', { timeout: 30000 }))
  • type.harness.tsx › "should type text into TextInput and trigger onChangeText", the run's first userEvent.type

Their durations, from each run's harness-diagnostics-e2e-ios artifact:

Run Head Camera permission test First userEvent.type test
40528303747 #249 4970 ms 2519 ms
40535898599 #298 6218 ms 5730 ms
40291893624 ci/host-health-telemetry 9487 ms 6016 ms
40528307146, attempt 1 #257 10099 ms, timed out 8062 ms
40528307146, attempt 2 #257 9043 ms 4813 ms
40868510310 main 26b67ea 7805 ms 6308 ms
40869641948 main 26b67ea 9946 ms 4085 ms
40869661561 main 26b67ea 5864 ms 3834 ms
40873698792 main 26b67ea 5415 ms 5749 ms
40873708733 main 26b67ea 10180 ms, timed out 4053 ms
40873717208 main 26b67ea 7753 ms 10376 ms, timed out
40873726063 main 26b67ea 10123 ms, timed out 8626 ms

The other userEvent.type tests take about a second each, so the first one pays for something the rest reuse. Four ci/host-health-telemetry runs on Oct 26 (40353077744, 40316171106, 40313220029, 40298624538) failed the camera test the same way.

System Info

GitHub Actions macos-latest: 3 cores, 7 GB, arm64, macOS 26 (osRelease 25.6.0), ImageOS macos26, ImageVersion 20261013.0424.1
Xcode 26.4.1, Node.js 24.10.0

React Native Harness Version

1.6.0 (main at 26b67ea)

Reproduction

https://github.com/YevheniiKotyrlo/react-native-harness/actions/runs/40873708733 (the E2E workflow on my fork's main, at 26b67ea)

Steps to reproduce

  1. Run the E2E workflow on main with platform: ios (I dispatched it on my fork's main, synced to 26b67ea).
  2. Three of my seven runs failed on one of the two tests with Test timed out after 10000ms, as the table shows; the rest passed with both at 3.8–9.9 s.

Expected: both tests finish within the test timeout on every run, or carry a timeout that covers the waits they make.
Actual: three of seven runs failed on one of them with Test timed out after 10000ms.

Activity

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