Add Android image smoke-test examples and Maestro flows to RNTester (#57306)#57306
Open
Abbondanzo wants to merge 2 commits into
Open
Add Android image smoke-test examples and Maestro flows to RNTester (#57306)#57306Abbondanzo wants to merge 2 commits into
Abbondanzo wants to merge 2 commits into
Conversation
|
@Abbondanzo has exported this pull request. If you are a Meta employee, you can view the originating Diff in D109316705. |
Abbondanzo
added a commit
to Abbondanzo/react-native
that referenced
this pull request
Jun 22, 2026
…eact#57306) Summary: Pull Request resolved: react#57306 Adds five Image examples to RNTester plus matching Maestro end-to-end flows, covering image-loading behaviors that previously had little or no RNTester coverage: - Progressive JPEG (`progressiveRenderingEnabled`) - `blurRadius` combined with `Image.prefetch` (blur postprocessor over a prefetched bitmap) - WebP (lossy/lossless/alpha) and AVIF format decoding - Image caching across a reload of the same URI (via `Image.queryCache`) - Wide-gamut (Display-P3) vs sRGB and alpha transparency Each example renders status text (load/error, cache status) with stable testIDs so the Maestro flows can assert behavior; the visual cases also capture screenshots. Examples that exercise Android-specific decoding (progressive JPEG, WebP/AVIF) are gated to Android; the rest run on both platforms. Format examples that lack a bundled asset (lossless/alpha WebP, AVIF, Display-P3) currently reference external sample URLs as a stopgap and render an onLoad/onError status so they degrade gracefully; these should be replaced with committed assets in a follow-up. Changelog: [Internal] Differential Revision: D109316705
3710ef8 to
2cda2d5
Compare
Summary:
Bumps `MAESTRO_VERSION` from `1.40.0` to `2.6.1` so we can use the new the visual-regression `assertScreenshot` command.
The two Maestro 2.0.0 breaking changes are already satisfied: JDK 17 is set up in both actions (`actions/setup-java@v5`), and the flows use only plain `${...}` variable interpolation rather than the JS scripting affected by the Rhino -> GraalJS engine swap.
Changelog: [Internal]
Differential Revision: D109359976
…eact#57306) Summary: Pull Request resolved: react#57306 Adds five Image examples to RNTester plus matching Maestro end-to-end flows, covering image-loading behaviors that previously had little or no RNTester coverage: - Progressive JPEG (`progressiveRenderingEnabled`) - `blurRadius` combined with `Image.prefetch` (blur postprocessor over a prefetched bitmap) - WebP (lossy/lossless/alpha) and AVIF format decoding - Image caching across a reload of the same URI (via `Image.queryCache`) - Wide-gamut (Display-P3) vs sRGB and alpha transparency Each example renders status text (load/error, cache status) with stable testIDs so the Maestro flows can assert behavior; the visual cases also capture screenshots. Examples that exercise Android-specific decoding (progressive JPEG, WebP/AVIF) are gated to Android; the rest run on both platforms. Format examples that lack a bundled asset (lossless/alpha WebP, AVIF, Display-P3) currently reference external sample URLs as a stopgap and render an onLoad/onError status so they degrade gracefully; these should be replaced with committed assets in a follow-up. Changelog: [Internal] Differential Revision: D109316705
2cda2d5 to
f0cf94d
Compare
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:
Adds five Image examples to RNTester plus matching Maestro end-to-end flows, covering image-loading behaviors that previously had little or no RNTester coverage:
progressiveRenderingEnabled)blurRadiuscombined withImage.prefetch(blur postprocessor over a prefetched bitmap)Image.queryCache)Each example renders status text (load/error, cache status) with stable testIDs so the Maestro flows can assert behavior; the visual cases also capture screenshots. Examples that exercise Android-specific decoding (progressive JPEG, WebP/AVIF) are gated to Android; the rest run on both platforms.
Format examples that lack a bundled asset (lossless/alpha WebP, AVIF, Display-P3) currently reference external sample URLs as a stopgap and render an onLoad/onError status so they degrade gracefully; these should be replaced with committed assets in a follow-up.
Changelog:
[Internal]
Differential Revision: D109316705