Skip to content

Wait for Maestro template app startup - #58289

Closed
cortinico wants to merge 1 commit into
mainfrom
nc/stabilize-maestro-template-startup
Closed

Wait for Maestro template app startup#58289
cortinico wants to merge 1 commit into
mainfrom
nc/stabilize-maestro-template-startup

Conversation

@cortinico

Copy link
Copy Markdown
Contributor

Summary:

Replace the immediate template-app startup assertion with extendedWaitUntil and a 60-second timeout.

The Android ARM64 debug app occasionally becomes accessibility-visible just after the existing assertion times out under native translation. This failed all three attempts in run 33609361836 and run 33540863593. In the captured failure artifact, both the screenshot and XML hierarchy contain Welcome to React Native, indicating a startup/accessibility timing race rather than an app failure.

Release runs remain fast because extendedWaitUntil returns as soon as the element is visible.

Changelog:

[INTERNAL] [FIXED] - Wait for the template app to become visible in Maestro E2E tests.

Test Plan:

  • MAESTRO_CLI_NO_ANALYTICS=1 maestro check-syntax scripts/e2e/.maestro/start.yml — passed (OK)
  • ./node_modules/.bin/prettier --check scripts/e2e/.maestro/start.yml — passed
  • git diff --check — passed
  • Inspected the failing Android debug artifact: the expected text is present in both the final screenshot and accessibility hierarchy.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 2, 2026
@facebook-github-tools facebook-github-tools Bot added p: Facebook Partner: Facebook Partner labels Sep 2, 2026
@cortinico
cortinico marked this pull request as ready for review September 2, 2026 12:35
@meta-codesync

meta-codesync Bot commented Sep 2, 2026

Copy link
Copy Markdown

@cortinico has imported this pull request. If you are a Meta employee, you can view this in D118457123.

@meta-codesync meta-codesync Bot closed this in 49bcae1 Sep 3, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Sep 3, 2026
@meta-codesync

meta-codesync Bot commented Sep 3, 2026

Copy link
Copy Markdown

@cortinico merged this pull request in 49bcae1.

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant