When to Apply: Reference when testing React Native apps end-to-end, leveraging Detox's automatic synchronization with the app, or running on simulators/emulators with gray-box visibility. Triggers on "Detox", "React Native E2E", "React Native test", "element(by.id)", "device.launchApp".
Playbook Deep Dive (9 sections): §1 Project Setup & Configuration · §2 Page Object Pattern · §3 Test Patterns · §4 Advanced Interactions · §5 Matchers & Assertions · §6 Network & Mock Server Integration · §7 CI/CD Integration · §8 Debugging Table · §9 Best Practices
The agent loads from 2 on-demand reference files (advanced-patterns.md, playbook.md) containing detailed implementation guides, cloud integration patterns, debugging tables, and language-specific best practices.