From 8a75a4defeda047afc0de977d382f9d205a85d8e Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Thu, 27 Aug 2026 06:33:29 -0700 Subject: [PATCH] Skip device-specific screenshot flows in Maestro Cloud (#58166) Summary: Pull Request resolved: https://github.com/react/react-native/pull/58166 The screenshot baselines used by two Android RNTester flows were captured on the local CI emulator and have fixed pixel dimensions that do not match the Maestro Cloud device profile. Tag those flows as local screenshot baselines and exclude that tag from the Android Maestro Cloud job. The existing local Android E2E job continues to run both flows and validate their screenshots. Changelog: [Internal] ___ Differential Revision: D117687713 fbshipit-source-id: de7cb4c8b395f204d672f8a209a29ccaa6ab0226 --- .github/workflows/test-all.yml | 2 +- packages/rn-tester/.maestro/image-blur-prefetch.yml | 3 +++ packages/rn-tester/.maestro/image-wide-gamut.yml | 3 +++ packages/rn-tester/.maestro/image.yml | 1 - 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-all.yml b/.github/workflows/test-all.yml index d739b0438e5..f1ee1caab33 100644 --- a/.github/workflows/test-all.yml +++ b/.github/workflows/test-all.yml @@ -372,7 +372,7 @@ jobs: download-path: /tmp/rntester-android app-file: /tmp/rntester-android/app-arm64-v8a-release.apk app-id: com.facebook.react.uiapp - exclude-tags: ios-only + exclude-tags: ios-only,local-screenshot-baseline secrets: inherit test_e2e_android_rntester: diff --git a/packages/rn-tester/.maestro/image-blur-prefetch.yml b/packages/rn-tester/.maestro/image-blur-prefetch.yml index 5c17ebf0c05..27e53740b1b 100644 --- a/packages/rn-tester/.maestro/image-blur-prefetch.yml +++ b/packages/rn-tester/.maestro/image-blur-prefetch.yml @@ -1,6 +1,9 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebook.react.uiapp tags: - android-only + # The screenshot baseline is captured on the local CI emulator and is + # intentionally not portable across Maestro Cloud device profiles. + - local-screenshot-baseline --- # Android-only: prefetch an image, then render the same URI with blurRadius so # the blur postprocessor applies to the already-decoded bitmap. Flaky on the iOS diff --git a/packages/rn-tester/.maestro/image-wide-gamut.yml b/packages/rn-tester/.maestro/image-wide-gamut.yml index 5d7ca283527..15eb8d71040 100644 --- a/packages/rn-tester/.maestro/image-wide-gamut.yml +++ b/packages/rn-tester/.maestro/image-wide-gamut.yml @@ -1,6 +1,9 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebook.react.uiapp tags: - android-only + # The screenshot baseline is captured on the local CI emulator and is + # intentionally not portable across Maestro Cloud device profiles. + - local-screenshot-baseline --- # Android-only: alpha transparency + sRGB vs Display-P3 wide-gamut. Color # fidelity is covered by a screenshot captured from the ARM64 APK on the API 35 diff --git a/packages/rn-tester/.maestro/image.yml b/packages/rn-tester/.maestro/image.yml index 5f1b102d3fd..4017f5db6dd 100644 --- a/packages/rn-tester/.maestro/image.yml +++ b/packages/rn-tester/.maestro/image.yml @@ -14,7 +14,6 @@ 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'