maestro-mobile-testing

Create declarative YAML tests for React Native and Expo mobile apps.

1|Updated Nov 5, 2024
One-click install
npx skills add https://github.com/FeedbackFriends/feedback-monorepo --skill maestro-mobile-testing-feedbackfriends
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: maestro-mobile-testing
Source: https://github.com/FeedbackFriends/feedback-monorepo/tree/main/.agents/skills/maestro-mobile-testing
Command: npx skills add https://github.com/FeedbackFriends/feedback-monorepo --skill maestro-mobile-testing-feedbackfriends

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

It streamlines the creation and execution of end-to-end tests for React Native and Expo mobile apps, reducing flaky tests and manual testing overhead.

Core Features & Use Cases

  • Declarative YAML tests that replace imperative scripting, simplifying test creation.
  • Automatic waiting and retry logic to enhance stability and reliability of tests.
  • Cross-platform testing for iOS and Android apps, including CI/CD integration with Maestro Cloud.
  • Use Case: Write a test flow that opens the app, performs a login, and verifies the presence of a specific UI element without complex code.

Quick Start

Write YAML flows with testID selectors, wait for auth-loaded marker, and run tests using Maestro CLI or SDK.

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 end-to-end tests for React Native without complex code?

You can write end-to-end tests using declarative YAML flows instead of imperative scripting. This simplifies test creation by defining UI interactions and assertions in a readable format without complex code.

Why are my mobile E2E tests flaky and how can I make them stable?

Mobile E2E tests become flaky due to timing issues. You can stabilize them by using declarative YAML flows equipped with automatic waiting and built-in retry logic to handle dynamic UI loading reliably.

Can I run mobile E2E testing flows in a CI/CD pipeline for Expo apps?

Yes, you can run mobile E2E testing flows in a CI/CD pipeline. Declarative YAML tests support cross-platform automation for Expo apps and integrate directly with CI/CD environments like Maestro Cloud.

Does declarative YAML mobile testing support adaptive authentication flows?

Declarative YAML mobile testing supports adaptive authentication flows. It utilizes advanced selector strategies and secure sensitive data handling, allowing tests to wait for specific auth-loaded markers before proceeding.

What is the best way to select UI elements for cross-platform mobile automation?

The best way to select UI elements for cross-platform mobile automation is using testID selectors within declarative YAML flows. This strategy ensures reliable targeting across both iOS and Android platforms.