This is a comprehensive guide to writing Maestro E2E tests for React Native and Expo apps, with a strong focus on eliminating flakiness. The patterns here are battle-tested: an auth-loaded pre-flight marker to prevent race conditions on cold boot, adaptive flows that handle both authenticated and unauthenticated states, and testID selectors that survive translations. The optimistic update verification pattern is clever, using short 3-second timeouts to prove UI changes happen before server responses. Also covers sub-flows for reusability, GraalJS scripting for API mocks, and Maestro Cloud integration. If you're tired of flaky mobile tests or migrating from Detox, the selector strategy table and native alert handling alone are worth reading.
npx skills add https://github.com/tovimx/maestro-mobile-testing-skill --skill maestro-mobile-testing