Fix Maestro image flow keyboard handling - #58272
Closed
cortinico wants to merge 1 commit into
Closed
Conversation
cortinico
marked this pull request as ready for review
September 1, 2026 12:03
|
@cortinico has imported this pull request. If you are a Meta employee, you can view this in D118279104. |
|
@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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
Restore the
hideKeyboardstep 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.ymlacross 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
hideKeyboardpresent passed theimageflow.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— passedgit diff --check— passedimage.ymlpassed on both release and debug before the removal and failed all three attempts afterward.