React Native App Tests
Sets up Detox end to end tests for a React Native app, and fixes the ones that hang.
Claude's review
8/10 Covers the Android native setup and the real failures: missing simulator type, ProGuard rules, waitFor without a timeout.
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
Detox is a gray-box end-to-end testing framework for React Native apps: it runs Jest tests against the app on an iOS simulator or Android emulator and waits for the app to go idle before each step. Use when the user wants to set up Detox, write or fix React Native E2E tests, debug a test that hangs or cannot find an element, or run Detox in CI. Also use when the user mentions "detox," "React Native E2E," "gray-box testing," "detox build," or "Wix Detox." For black-box testing of any mobile app, see appium; for simple YAML UI flows, see maestro.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: detox
description: >-
Detox is a gray-box end-to-end testing framework for React Native apps: it
runs Jest tests against the app on an iOS simulator or Android emulator and
waits for the app to go idle before each step. Use when the user wants to set
up Detox, write or fix React Native E2E tests, debug a test that hangs or
cannot find an element, or run Detox in CI. Also use when the user mentions
"detox," "React Native E2E," "gray-box testing," "detox build," or "Wix
Detox." For black-box testing of any mobile app, see appium; for simple YAML
UI flows, see maestro.
license: Apache-2.0
compatibility: "Detox 20.x (checked against 20.51.4) with Jest 27.2.5–30 and Node.js 14+; officially supports React Native 0.77–0.84. iOS tests need macOS with Xcode and applesimutils; Android tests need the Android SDK and an emulator. Expo is not officially supported."
metadata:
author: terminal-skills
version: "1.1.0"
category: development
tags: "react-native, e2e-testing, mobile, gray-box"
repository: https://github.com/wix/Detox
---
# Detox
## Overview
Detox is the gray-box end-to-end testing framework for React Native apps by Wix. Tests are written in JavaScript, run by Jest on your machine, and drive the real app on an iOS simulator or Android emulator. Because Detox runs inside the app as well, it knows when animations, timers and network requests are in flight and waits for the app to become idle before every action and assertion, which removes most timing flakiness without `sleep` calls. The price is setup: Detox needs a test build of the app per platform and a few native changes on Android.
## Instructions
### Initial Assessment
1. **Platform** — iOS, Android, or both? iOS tests only run on macOS.
2. **React Native version** — bare React Native or Expo? Detox has no Expo-specific support, and the Expo guide that the Detox docs link to now covers Maestro; treat Detox on Expo as community-maintained.
3. **CI** — Which CI provider? (GitHub Actions, CircleCI, Bitrise)
4. **Current state** — New project or adding tests to existing app?
### Setup
```bash
# Run in the React Native project root
...From TerminalSkills's repository, Apache-2.0 licence.
Related skills
-
Checked
Android Gradle Plugin upgrade
Moves Kotlin Multiplatform projects to Android Gradle Plugin 9 and fixes the build failures it causes.
8/101 credit -
Checked
CocoaPods to SwiftPM
Moves Kotlin Multiplatform projects from CocoaPods to Swift Package Manager and updates the Xcode project.
8/101 credit -
Checked
Kotlin Native build speed
Diagnoses and fixes slow Kotlin/Native iOS builds in Kotlin Multiplatform projects, both locally and on CI.
7/101 credit -
Checked
SwiftUI Liquid Glass
Adds and reviews Liquid Glass in SwiftUI apps for iOS 26, avoiding pitfalls with bars, buttons and scrolling.
7/101 credit -
Checked
EAS cloud simulators
Runs your app on Expo's cloud iOS and Android simulators, so you can test without a local simulator.
7/101 credit -
Checked
Offline Android LLM apps
Builds an Android app that runs an open LLM on the phone with LiteRT, so it works without a server.
7/101 credit