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
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 58/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- github-actions, react-native, typescript
调研方向
Start with apps/playground/rn-harness.config.mjs and the named tests in permissions.harness.tsx and type.harness.tsx; compare their timing diagnostics from the linked iOS workflow runs to see where the time is spent. Identify why the first camera permission and userEvent.type tests approach the 10 s timeout, then verify the E2E iOS workflow no longer fails intermittently from those timeouts.
由索引模型根据 Issue 内容生成。
描述
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 firstuserEvent.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
- Run the E2E workflow on
mainwithplatform: ios(I dispatched it on my fork'smain, synced to 26b67ea). - 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.
- 主要语言
- TypeScript
- 星标
- 335
- 派生
- 23
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 54
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
callstackincubator/react-native-harness 的其他 Issue
-
On Windows, `report.test.ts`'s unwritable-folder case creates `\dev\null\nope` at the drive root instead of meeting an unwritable folder可能已有人在做 @TheSeydiCharyyev 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 83/100
callstackincubator/react-native-harness#301 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
callstackincubator/react-native-harness#296 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
callstackincubator/react-native-harness#128 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 52/100
callstackincubator/react-native-harness#300 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 72/100
callstackincubator/react-native-harness#299 ·
维护者通常 1 天内回复
查看 callstackincubator/react-native-harness 的全部 Issue
相似的 Issue
-
area:desktop area:ui bug platform:macos
难度 2/5 1-3 小时 新手友好度 67/100
anthropics/claude-code#106183 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
feature:App-Tour feature:Chat ready Web
难度 2/5 1-3 小时 新手友好度 62/100
digitalfabrik/integreat-app#4523 · 2 个 reaction ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Required Lexical field accepts two empty paragraphs可能已有人在做 @lazerg 今天认领。 未关闭Bug
难度 2/5 1-3 小时 新手友好度 76/100
payloadcms/payload#19222 ·
维护者通常 1 天内回复