Skip to content

Fix Maestro image flow keyboard handling - #58272

Closed
cortinico wants to merge 1 commit into
mainfrom
nc/fix-maestro
Closed

Fix Maestro image flow keyboard handling#58272
cortinico wants to merge 1 commit into
mainfrom
nc/fix-maestro

Conversation

@cortinico

Copy link
Copy Markdown
Contributor

Summary:

Restore the hideKeyboard step in the RNTester Image Maestro flow before tapping the platform test results.

The step was removed in #58166, after which the local Android release and debug jobs consistently failed image.yml across all three attempts. The failure artifact from run 33481521624 shows the Gboard clipboard panel obscuring the lower results UI. The same flow passed in both configurations immediately before that removal.

This does not change the Maestro Cloud exclusions added in #58166. The earlier Cloud Android run with hideKeyboard present passed the image flow.

Changelog:

[INTERNAL] [FIXED] - Restore keyboard dismissal in the RNTester Image Maestro flow.

Test Plan:

  • maestro check-syntax packages/rn-tester/.maestro/image.yml — passed (OK)
  • ./node_modules/.bin/prettier --check packages/rn-tester/.maestro/image.yml — passed
  • git diff --check — passed
  • Compared Android E2E runs before and after Skip device-specific screenshot flows in Maestro Cloud #58166: image.yml passed on both release and debug before the removal and failed all three attempts afterward.

@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 1, 2026
@facebook-github-tools facebook-github-tools Bot added p: Facebook Partner: Facebook Partner labels Sep 1, 2026
@cortinico
cortinico marked this pull request as ready for review September 1, 2026 12:03
@meta-codesync

meta-codesync Bot commented Sep 1, 2026

Copy link
Copy Markdown

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

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

meta-codesync Bot commented Sep 1, 2026

Copy link
Copy Markdown

@cortinico merged this pull request in a344b4b.

meta-codesync Bot pushed a commit that referenced this pull request Sep 3, 2026
Summary:
Run the RNTester Image flow keyboard dismissal only on Android.

Android needs this step because the keyboard obscures the platform test results control. On iOS, the keyboard can dismiss automatically before Maestro reaches `hideKeyboard`, causing the flow to fail with `Could not hide the keyboard`. This has occurred repeatedly in Maestro Cloud since #58272 landed; for example, [run 33517266090](https://github.com/react/react-native/actions/runs/33517266090/job/99902026553).

The flow passed in Maestro Cloud iOS while the dismissal was absent, and the existing platform condition syntax is already used by the neighboring Image flows.

## Changelog:

[INTERNAL] [FIXED] - Avoid dismissing an already-hidden keyboard in the iOS Maestro Image flow.

Pull Request resolved: #58288

Test Plan:
- `MAESTRO_CLI_NO_ANALYTICS=1 maestro check-syntax packages/rn-tester/.maestro/image.yml` — passed (`OK`)
- `./node_modules/.bin/prettier --check packages/rn-tester/.maestro/image.yml` — passed
- `git diff --check` — passed
- Confirmed the Android dismissal remains present behind `platform: Android`.

Reviewed By: christophpurrer

Differential Revision: D118457013

Pulled By: cortinico

fbshipit-source-id: a8cb212004be0d9eeeff40e148f5d5f7ebee393a
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