From 15d8d254b424c6f162811782578b3a78c483df68 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Thu, 27 Aug 2026 06:21:31 -0700 Subject: [PATCH] Skip device-specific screenshot flows in Maestro Cloud Summary: 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 --- .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 d739b0438e51..f1ee1caab331 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 5c17ebf0c05b..27e53740b1ba 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 5d7ca283527d..15eb8d710400 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 5f1b102d3fdc..4017f5db6ddf 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'