Setup & Installation
What This Skill Does
Generates Detox end-to-end tests for React Native apps using gray-box testing with automatic synchronization. Covers element matchers, actions, expectations, device control, and cloud execution on TestMu AI via Espresso and XCUITest runners.
Detox's gray-box architecture and automatic synchronization remove the need to sprinkle manual waits and retries throughout your React Native test code, and this skill encodes those patterns so you get idiomatic tests without memorizing the API.
When to use it
- Writing login and authentication flow tests for a React Native app
- Running Detox test suites on real devices through TestMu AI cloud
- Setting up .detoxrc.js configuration for both iOS simulators and Android emulators
- Adding testID props to React Native components for stable test selectors
- Debugging flaky tests by replacing manual waits with Detox auto-sync