From a344b4b2ceee94849bfe28e3da66aa994a7996d7 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Tue, 1 Sep 2026 07:01:41 -0700 Subject: [PATCH] Fix Maestro image flow keyboard handling (#58272) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: Restore the `hideKeyboard` step in the RNTester Image Maestro flow before tapping the platform test results. The step was removed in https://github.com/react/react-native/issues/58166, after which the local Android release and debug jobs consistently failed `image.yml` across all three attempts. The failure artifact from [run 33481521624](https://github.com/react/react-native/actions/runs/33481521624/job/99784789650) 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 https://github.com/react/react-native/issues/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. Pull Request resolved: https://github.com/react/react-native/pull/58272 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 https://github.com/react/react-native/issues/58166: `image.yml` passed on both release and debug before the removal and failed all three attempts afterward. Reviewed By: cipolleschi Differential Revision: D118279104 Pulled By: cortinico fbshipit-source-id: 4cf0eb686789d33ebb2909cb605215a90661b143 --- packages/rn-tester/.maestro/image.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/rn-tester/.maestro/image.yml b/packages/rn-tester/.maestro/image.yml index 4017f5db6dd..5f1b102d3fd 100644 --- a/packages/rn-tester/.maestro/image.yml +++ b/packages/rn-tester/.maestro/image.yml @@ -14,6 +14,7 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebo id: 'example_search' - inputText: text: 'Image.getSize' +- hideKeyboard - tapOn: id: 'platform-test-results' - assertVisible: 'Results'