mobile-dev-inc / maestro-docs

Documentation repository for maestro.mobile.dev
https://maestro.mobile.dev
Apache License 2.0
19 stars 36 forks source link

description: Maestro is the simplest and most effective mobile UI testing framework.

What is Maestro?

{% embed url="https://vimeo.com/767721667/d972c5f08e" %}

Why Maestro?

Maestro is built on learnings from its predecessors (Appium, Espresso, UIAutomator, XCTest) and allows you to easily define and test your Flows.

{% hint style="info" %} What are Flows? Think of Flows as parts of the user journey in your app. Login, Checkout and Add to Cart are three examples of possible Flows that can be defined and tested using Maestro. {% endhint %}

Examples

Twitter

Simple Examples

{% tabs %} {% tab title="Android" %}

# flow_contacts_android.yaml

appId: com.android.contacts
---
- launchApp
- tapOn: "Create new contact"
- tapOn: "First Name"
- inputText: "John"
- tapOn: "Last Name"
- inputText: "Snow"
- tapOn: "Save"

{% endtab %}

{% tab title="iOS" %}

# flow_contacts_ios.yaml

appId: com.apple.MobileAddressBook
---
- launchApp
- tapOn: "John Appleseed"
- tapOn: "Edit"
- tapOn: "Add phone"
- inputText: "123123"
- tapOn: "Done"

{% endtab %} {% endtabs %}

Platform Support

PlatformSupport
iOS
Android
ReactNative
Flutter

Resources

Get Started

Get started by installing the Maestro CLI: