Expo Maestro 改进:移动 E2E 正在变成发布运营指标
移动 E2E 需要运营模型
Expo 在 2026 年 6 月 24 日发布了 EAS 上的 Maestro 测试改进:dashboard、趋势、flaky test 识别、失败步骤分析、只重跑失败测试,以及 JUnit XML 输出。
对 Expo 和 React Native 团队来说,价值在于更快判断失败来源。移动 E2E 的失败可能来自产品代码、脆弱测试、模拟器状态、权限弹窗、网络或设备选择。
EAS Insights 展示 passed、failed、retried、flaky 等状态,以及运行次数、比例、总时长和 P90。JUnit 输出可以接入已有 CI 报告。
实践上,不要马上覆盖所有页面。先选择 onboarding、登录、支付、推送权限、创建/保存等 5-8 个高风险流程。
风险是把重跑当作掩盖 flaky 的工具。每个流程都需要负责人、重试上限和发布阻断规则。
Checklist
• Pick the highest-risk user journeys first.
• Track flaky rate and failed steps, not only pass/fail.
• Connect JUnit output to the CI report your team already reads.
来源
- Expo Changelog: Maestro testing improvements
- Expo Docs: Maestro tests with EAS Insights
- Expo Docs: End-to-end tests in EAS Workflows
- Expo Docs: EAS Workflows syntax
- Maestro Docs: React Native support
- Community signal: E2E testing tools for Expo apps
- Community signal: selecting a device for EAS Maestro tests