maestro-mobile-testing

Automate mobile E2E test writing and execution for React Native/Expo apps using Maestro patterns.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/hszouszcz/cragspace-mobile --skill maestro-mobile-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: maestro-mobile-testing
Source: https://github.com/hszouszcz/cragspace-mobile/tree/main/.agents/skills/maestro-mobile-testing
Command: npx skills add https://github.com/hszouszcz/cragspace-mobile --skill maestro-mobile-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

## What problem does it solve? Mobile teams struggle with flaky mobile E2E tests and brittle automation for React Native/Expo apps; Maestro-mobile-testing provides declarative YAML patterns, testID selector guidance, adaptive auth strategies, and cross-platform testing practices to stabilize tests and speed CI.

## Core Features & Use Cases

  • Declarative YAML test flows with automatic waiting and built-in retry
  • TestID-based selector guidance and adaptive auth patterns to handle login states
  • GraalJS scripting for HTTP calls and data manipulation in tests
  • CI/CD integration, Maestro Cloud, and MCP server workflow support

### Quick Start Install Maestro CLI, create a simple YAML flow under .maestro, and execute it with maestro test.

Frequently Asked Questions about maestro-mobile-testing

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

FAQPage Schema
How do I write stable mobile E2E tests for React Native using declarative YAML?

Mobile E2E tests for React Native using declarative YAML are written by creating test flows under the .maestro directory, utilizing testID selectors and automatic waiting to stabilize UI automation. This approach prevents flaky tests by handling timing automatically.

What is the best way to handle authentication states in Maestro mobile testing?

Handling authentication states in Maestro mobile testing is best achieved through adaptive auth pre-flight patterns and GraalJS scripting. This allows you to manage login states and manipulate data before executing declarative YAML test flows.

Can I integrate Maestro YAML test flows into a CI/CD pipeline?

Yes, you can integrate Maestro YAML test flows into a CI/CD pipeline using Maestro Cloud workflows. This allows automated cross-platform mobile testing to run continuously, stabilizing tests and speeding up CI execution for React Native apps.

Does Maestro support custom scripting for HTTP calls during Expo mobile testing?

Maestro supports custom scripting for HTTP calls during Expo mobile testing through GraalJS integration. This enables data manipulation and pre-flight auth requests directly within your declarative YAML test flows.

Why are my React Native E2E tests flaky and how does Maestro fix this?

React Native E2E tests are often flaky due to brittle automation and explicit waits, which Maestro fixes by applying declarative YAML patterns, testID selector guidance, and built-in retry mechanisms to stabilize cross-platform flows.