Skip to content

Migrate e2e to maestro-runner - #1143

Open
troZee wants to merge 1 commit into
masterfrom
chore/maestro-runner
Open

Migrate e2e to maestro-runner#1143
troZee wants to merge 1 commit into
masterfrom
chore/maestro-runner

Conversation

@troZee

@troZee troZee commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

maestro-runner promises to be a faster, more reliable alternative to the official Maestro CLI. Expo also uses it inside EAS expo/eas-cli#4187

Test Plan

e2e for Android and iOS should pass

@troZee

troZee commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator Author
Screenshot 2026-09-04 at 15 34 02 Screenshot 2026-09-04 at 15 26 41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The nested pager Maestro test now launches the app twice back-to-back, which adds avoidable runtime and can increase flakiness.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Migrates the repository’s mobile E2E workflow from the Maestro CLI to maestro-runner, updating the runner script, npm scripts, and a few flows to improve reliability (retries + explicit waits) and artifact output.

Changes:

  • Switch scripts/run-maestro-tests.sh to invoke maestro-runner and validate it’s installed.
  • Update package.json scripts to use maestro-runner and enable retries for platform E2E runs.
  • Improve flow stability by resetting LTR state in a nested test and adding extendedWaitUntil guards around scroll-toggle assertions.
File summaries
File Description
scripts/run-maestro-tests.sh Replaces maestro test invocation with maestro-runner and adds a preflight install check.
package.json Updates Maestro-related scripts to use maestro-runner and enables retries for platform test runs.
.maestro/tests/nested_pagerView_example.yaml Adds an LTR-reset pre-step before running the nested pager example test.
.maestro/README.md Documents maestro-runner installation and clarifies retry + artifact behavior.
.maestro/flows/basic-pager/verify-vertical-swipe.yaml Adds wait-until-visible guards after toggling scroll state.
.maestro/flows/basic-pager/verify-horizontal-rtl-swipe.yaml Adds wait-until-visible guards after toggling scroll state (RTL).
.maestro/flows/basic-pager/verify-horizontal-ltr-swipe.yaml Adds wait-until-visible guards after toggling scroll state (LTR).
Review details
  • Files reviewed: 7/7 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +3 to 6
- runFlow: ../flows/basic-pager/ensure-ltr.yaml

- runFlow: ../setup/nested_pagerView_example_setup.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants