Maestro or Detox for Expo E2E tests: which one shows the real cause of a failure
The author ran the same Expo app with Maestro and with Detox on an iOS Simulator (Expo SDK 57.0.21) and compared what each tool reports when a test fails. Detox synchronizes with the app by watching its internal state, so tests do not need sleep calls, but this is a [gray-box](#) approach that depends on that state being visible. From Expo SDK 56, expo/fetch replaces the global fetch, and Detox does not track it on Android, as reported in issue #4973 from September 2026.
On iOS, Detox waited for a 3-second fetch and the test passed in 9,108 ms. With synchronization turned off, the test tapped too early and failed with "No elements found" for the done element, which points at the wrong cause. Maestro does not monitor the network at all and passed by retrying assertions until the element appeared. Maestro 2.7.0 changed its failure output into a structured form that machines can read, and it ships an [MCP](#) server so an agent can read the screen.
The author concludes that Maestro is a reasonable choice for a new Expo E2E setup, while Detox's synchronization works on iOS. Expo's official documentation describes E2E testing only with Maestro, and Detox's Expo guide exists only for version 19.x.
Sources
-
JPZenn JA
Expo の E2E、エージェントが直せるのは Maestro か Detox か
Terms
- E2E — End-to-end testing, where a whole app is tested from the user's point of view, through its real screens and flows.
- gray-box — A testing approach where the test can see and read parts of the app's internal state, not only what is on the screen.
- MCP — Model Context Protocol, a standard that lets AI agents connect to external tools and read their data.


