skip to content

[ compare · mobile testing frameworks ]

e2e vs maestro

Maestro runs mobile test flows written in yaml. e2e uses TypeScript or JavaScript to combine agent goals with exact checks.

[ at a glance ]

what each tool is.

  • made by, license

    [ e2e ]

    e2e, Apache-2.0

    [ maestro ]

    mobile.dev. the cli is Apache-2.0, Maestro Cloud is paid.

  • platforms

    [ e2e ]

    iOS simulators, Android emulators, connected phones; Chromium, Firefox, WebKit

    [ maestro ]

    iOS, Android, React Native, Flutter; web in beta, Chromium only

  • test format

    [ e2e ]

    TypeScript or JavaScript

    [ maestro ]

    yaml flows, JavaScript through runScript

  • finding elements

    [ e2e ]

    role, label, text, and test id queries. a string must match the whole name, and an action needs exactly one match.

    [ maestro ]

    text and id as patterns that ignore case, first match. spatial selectors such as below and rightOf.

  • when ai is used

    [ e2e ]

    at run time, when a step needs it. verified goals replay without model calls. locator steps never call a model.

    [ maestro ]

    while you write flows, through Maestro mcp, which writes yaml. three experimental ai commands at run time, optional by default.

  • hosted devices

    [ e2e ]

    Limrun, EAS Simulators, TestMu AI, BrowserStack, or your ci

    [ maestro ]

    Maestro Cloud, BrowserStack, TestingBot, EAS Workflows, or your ci with the open source cli

  • tooling

    [ e2e ]

    cli, an e2e mcp session for coding agents, a trace.md page per failed test, a video per attempt

    [ maestro ]

    Maestro Studio desktop app, Maestro Viewer, maestro record

  • changes to the app

    [ e2e ]

    none; your normal build

    [ maestro ]

    none; black box through the accessibility tree

[ the same test ]

the same test,written both ways.

maestro
appId: com.example.app
---
- launchApp:
    clearState: true
- tapOn: "Get started"
- tapOn:
    id: "email"
- inputText: "ada@example.test"
- tapOn: "Continue"
- assertVisible: "Check your inbox"
- scrollUntilVisible:
    element: "Resend"
- assertVisible:
    id: "resend"
e2e
import { test } from '@e2e-dev/mobile';
import { expect } from 'e2e';

test('asks for the email', async ({ app, agent, screen }) => {
  await app.clearState();
  await agent.act('get started with the email {email}', { params: { email: 'ada@example.test' } });
  await expect(screen.getByText('Check your inbox')).toBeVisible();
  await screen.scrollUntilVisible(screen.getByTestId('resend'));
  await expect(screen.getByTestId('resend')).toBeVisible();
});

one goal handles onboarding. the state reset, scroll, and assertions stay exact.

[ differences ]

the five main differences.

  • yaml flows and typescript tests

    Maestro flows use one yaml command per step. conditions, loops, and scripts use runFlow, repeat, and runScript.

    e2e tests use TypeScript or JavaScript, with fixtures, page objects, and agent goals. choose Maestro when the team prefers reviewing yaml; choose e2e when tests belong in code.

  • when ai is used

    Maestro mcp helps coding agents write yaml flows. its three runtime ai commands are experimental and optional by default, so a failed ai check need not fail the flow.

    e2e runs agent goals and checks during tests. cached goals replay without a model, but agent assertions always call one. --strict-cache fails stale recordings; it does not prevent model calls for new goals.

  • matching and waiting

    Maestro matches text and ids as case-insensitive patterns, taps the first match, and waits for the screen to settle. spatial selectors include below and rightOf.

    e2e strings match the whole name, and ambiguous actions fail. assertions retry. use a label, test id, or goal instead of a spatial selector.

  • web and other platforms

    Maestro supports iOS and Android. web support is in beta and uses Chromium. Expo support includes Expo Go, development builds, and EAS Workflows.

    e2e adds Firefox and WebKit to the same suite. it supports Expo development and release builds, EAS Workflows, and hosted EAS Simulators.

  • where tests run

    Maestro offers a free cli, studio, and viewer. run flows on your own ci, Maestro Cloud, or supported third-party device clouds.

    e2e runs on your ci, connected phones, or hosted devices. choose your own model subscription, api key, or local model; locator-only tests need none.

01 / 05

[ side by side ]

feature by feature.

Maestro suits teams that prefer yaml and a desktop app. e2e suits code-based suites that cover mobile and multiple browsers.

  • platforms

    [ e2e ]

    [ e2e ]

    iOS, Android, connected phones; Chromium, Firefox, WebKit

    [ maestro ]

    iOS, Android, React Native, Flutter; web in beta, Chromium

  • writing a test

    [ e2e ]

    [ e2e ]

    exact screen steps, agent goals, or both

    [ maestro ]

    yaml commands, optional steps, and conditional flows

  • when the ui changes

    [ e2e ]

    [ e2e ]

    stale goals can return to the agent; exact assertions still check the result

    [ maestro ]

    edit the yaml or regenerate it with a coding agent

  • ai during a run

    [ e2e ]

    [ e2e ]

    act, assert, waitFor, extract; the model never sees Secret values

    [ maestro ]

    assertWithAI, assertNoDefectsWithAI, extractTextWithAI; experimental, optional by default

  • exploratory testing

    [ e2e ]

    [ e2e ]

    e2e explore runs from a goal and reports findings; a bug bash turns findings into failing repro tests

    [ maestro ]

    Maestro Studio and the mcp session let a person or an agent drive the device; no exploration command

  • how a test reads

    [ maestro ]

    [ e2e ]

    TypeScript or JavaScript; the goals are plain language

    [ maestro ]

    yaml, one command per line, easier to follow for people who do not write code

  • finding elements

    [ even ]

    [ e2e ]

    whole string, one match, role, label, and test id; no spatial selectors

    [ maestro ]

    pattern that ignores case, first match, spatial selectors

  • coding agents

    [ even ]

    [ e2e ]

    e2e skill, live mcp sessions, explore, and bug bash

    [ maestro ]

    Maestro mcp device tools for coding agents

  • desktop app

    [ maestro ]

    [ e2e ]

    none; cli, trace.md, video per attempt

    [ maestro ]

    Maestro Studio, Maestro Viewer, maestro record

  • hosted devices

    [ even ]

    [ e2e ]

    Limrun, EAS Simulators, TestMu AI, BrowserStack, or your ci

    [ maestro ]

    Maestro Cloud, BrowserStack, TestingBot, EAS Workflows, or your ci

  • getting started

    [ maestro ]

    [ e2e ]

    npx e2e init in a Node.js project (22.22.3 or 24.8 and newer)

    [ maestro ]

    a standalone cli and one yaml file, no project setup

[ which one ]

which one to pick.

pick by the job in front of you: first the jobs where e2e is the better choice, then the jobs where maestro is the better choice.

  • one suite for iOS, Android, and the web

    [ e2e ]

    Firefox and WebKit included; Maestro's web support is in beta and Chromium only.

  • tests that already live in TypeScript or JavaScript

    [ e2e ]

    fixtures, page objects, and typed params, with goals in plain language beside them.

  • a coding agent that writes and fixes tests

    [ e2e ]

    it works against the app while it runs on a simulator or device, and verified goals replay without model calls.

  • your own model and device providers

    [ e2e ]

    choose a supported model and device provider, or use your own ci. provider and model charges still apply.

  • flows the team prefers to read and review in yaml

    [ maestro ]

    one command per line, easier to follow for people who do not write code.

  • Maestro Studio and Maestro Cloud from one vendor

    [ maestro ]

    the desktop app, hosted devices, and parallel runs come from the same place.

  • trying a flow with no node project around the app

    [ maestro ]

    Maestro is a standalone cli and one yaml file; e2e needs a Node.js project (22.22.3 or 24.8 and newer) and npx e2e init.

  • selecting elements by position, such as the field below a label

    [ maestro ]

    Maestro's below, above, leftOf, and rightOf selectors; e2e has none, so a label, a test id, or a goal stands in.

[ switching ]

run both, move one flow at a time.

  1. [step 1]

    run npx e2e init and choose the mobile engine.

  2. [step 2]

    follow the migration guide to connect your app and rewrite one flow.

  3. [step 3]

    run npx e2e run <file> on each platform. keep the yaml flow until you trust the replacement.

the migration guide covers setup, api differences, and unsupported features. need help? book a call with the e2e team.

[ faq ]

questions.

what people on maestro ask before they add e2e.

[001]does e2e run my maestro yaml flows?

no. rewrite flows as TypeScript or JavaScript, using exact calls or agent goals. the migration guide maps each Maestro command.

[002]is e2e deterministic?

locator-only tests make no model calls. cached goals replay recorded actions; stale recordings can call the agent or fail with --strict-cache. new goals and model-judged checks still need a model.

[003]what does e2e need on the machine?

install Xcode with a simulator or the Android sdk with an emulator. e2e needs Node.js 24.8 or newer, or 22.22.3 or newer on Node.js 22. nothing is added to the app.

[004]does e2e work with expo?

yes. use development or release builds, EAS Workflows, and hosted EAS Simulators.

[005]can people who do not code read e2e tests?

goals are plain language, but the surrounding test is TypeScript or JavaScript. Maestro is a better fit when reviewers prefer yaml.

[006]what's the difference between e2e and maestro?

Maestro runs yaml flows with optional runtime ai commands. e2e combines code with agent goals and supports Chromium, Firefox, and WebKit alongside native mobile.

ask anything else

facts checked 30 october 2026 against docs.Maestro.dev, Maestro.dev/pricing, Maestro cli 2.12.0, and the e2e docs. something out of date? open an issue on github.

[ get started ]

your verificationlayerstarts withjust one command

npx e2e init