detox-skill

Generate and execute Detox E2E tests for React Native apps.

350|69|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/LambdaTest/agent-skills --skill detox-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: detox-skill
Source: https://github.com/LambdaTest/agent-skills/tree/main/detox-skill
Command: npx skills add https://github.com/LambdaTest/agent-skills --skill detox-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation and execution of end-to-end (E2E) tests for React Native applications using the Detox framework, ensuring robust mobile app quality.

Core Features & Use Cases

  • Detox Test Generation: Write E2E tests for React Native apps using JavaScript/TypeScript.
  • Element Interaction: Provides patterns for finding and interacting with UI elements (buttons, inputs, etc.).
  • Cloud Execution: Guides for running tests on cloud platforms like TestMu AI.
  • Use Case: You need to ensure your React Native app's login flow works correctly on both iOS and Android. This Skill helps you write a Detox test that simulates user input, taps buttons, and verifies successful login.

Quick Start

Use the detox-skill to generate basic E2E tests for a React Native login screen.

Frequently Asked Questions about detox-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate React Native E2E tests using Detox?

Automate React Native E2E tests by generating and executing JavaScript or TypeScript Detox test scripts that interact with UI elements using specific matchers and actions. This Skill provides the necessary configuration patterns and execution logic for local device testing.

How does gray-box testing with automatic synchronization work in Detox?

Gray-box testing with automatic synchronization in Detox works by monitoring the React Native app's state and automatically waiting for animations, network requests, and timers to finish before executing the next test action. This eliminates flakiness from manual sleep waits.

Can I run Detox tests on cloud platforms like TestMu AI?

Yes, you can run Detox tests on cloud platforms like TestMu AI. This Skill provides specific guides and configuration patterns for cloud execution, allowing you to scale your React Native end-to-end testing across multiple devices without local infrastructure.

Do I need JavaScript or TypeScript to write Detox tests for my mobile app?

You need either JavaScript or TypeScript to write Detox tests. This Skill generates test code in both languages, allowing you to simulate user input, tap buttons, and verify application flows within your existing React Native development environment.

How do I configure .detoxrc.js for CI/CD integration?

Configure .detoxrc.js for CI/CD integration by defining your application build paths, test runner configurations, and device targets within the file. This Skill facilitates the setup process to ensure your React Native E2E tests execute automatically in your pipeline.

What are the limitations of using Detox for mobile testing?

A key limitation of using Detox for mobile testing is that it is specifically designed for React Native applications and relies heavily on gray-box synchronization. It may not suit applications built with native-only frameworks or those requiring complex black-box testing scenarios.