Expo Maestro 改進:Mobile E2E 正在成為發佈營運指標
Mobile E2E 需要營運模型
Expo 在 2026 年 6 月 24 日發佈 EAS 上的 Maestro 測試改進:dashboard、趨勢、flaky test 識別、失敗步驟分析、只重跑失敗測試,以及 JUnit XML 輸出。
對 Expo 與 React Native 團隊來說,重點是更快分類失敗來源。Mobile E2E 可能被產品 bug、脆弱測試、模擬器狀態、權限彈窗、網路或裝置選擇影響。
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