Skip to content

Add Skia screenshots for Fantom roots (#59483) - #59483

Open
rubennorte wants to merge 2 commits into
react:mainfrom
rubennorte:export-D126888504
Open

rubennorte wants to merge 2 commits into
react:mainfrom
rubennorte:export-D126888504

Conversation

@rubennorte

@rubennorte rubennorte commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Summary:

Integrate screenshots into Fantom's existing Jest snapshot workflow so tests catch visual regressions while PNG baselines remain easy to inspect. Immutable captures make comparisons across React updates reliable.

Share Skia and fonts with text measurement to keep layout and painting consistent across Linux and macOS. Pixel hashes make comparisons independent of PNG encoding; saved captures and highlighted differences make failures inspectable in CI and terminals without image support.

Changelog: [Internal] Add Skia screenshot snapshots to Fantom.

Differential Revision: D126888504

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 26, 2026
@meta-codesync

meta-codesync Bot commented Oct 26, 2026

Copy link
Copy Markdown

@rubennorte has exported this pull request. If you are a Meta employee, you can view the originating Diff in D126888504.

@github-actions

Copy link
Copy Markdown

Warning

JavaScript API change detected

This PR commits an update to ReactNativeApi.d.ts, indicating a change to React Native's public JavaScript API.

  • Please include a clear changelog message.
  • This change will be subject to additional review.

This change was flagged as: POTENTIALLY_BREAKING

rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 26, 2026
Summary:
Pull Request resolved: react#59483

Integrate screenshots into Fantom's existing Jest snapshot workflow so tests catch visual regressions while PNG baselines remain easy to inspect. Immutable captures make comparisons across React updates reliable.

Share Skia and fonts with text measurement to keep layout and painting consistent across Linux and macOS. Pixel hashes make comparisons independent of PNG encoding; saved captures and highlighted differences make failures inspectable in CI and terminals without image support.

Changelog: [Internal] Add Skia screenshot snapshots to Fantom.

Differential Revision: D126888504
@meta-codesync meta-codesync Bot changed the title Add Skia screenshots for Fantom roots Add Skia screenshots for Fantom roots (#59483) Oct 26, 2026
rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 26, 2026
Summary:
Pull Request resolved: react#59483

Integrate screenshots into Fantom's existing Jest snapshot workflow so tests catch visual regressions while PNG baselines remain easy to inspect. Immutable captures make comparisons across React updates reliable.

Share Skia and fonts with text measurement to keep layout and painting consistent across Linux and macOS. Pixel hashes make comparisons independent of PNG encoding; saved captures and highlighted differences make failures inspectable in CI and terminals without image support.

Changelog: [Internal] Add Skia screenshot snapshots to Fantom.

Differential Revision: D126888504
rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 26, 2026
Summary:
Pull Request resolved: react#59483

Integrate screenshots into Fantom's existing Jest snapshot workflow so tests catch visual regressions while PNG baselines remain easy to inspect. Immutable captures make comparisons across React updates reliable.

Share Skia and fonts with text measurement to keep layout and painting consistent across Linux and macOS. Pixel hashes make comparisons independent of PNG encoding; saved captures and highlighted differences make failures inspectable in CI and terminals without image support.

Changelog: [Internal] Add Skia screenshot snapshots to Fantom.

Differential Revision: D126888504
Summary:
Pull Request resolved: react#59482

Use Skia for intrinsic text layout so Fantom tests exercise real wrapping and font scaling. Keep measurement enabled by default and share layout and a consistent CPU configuration with screenshot painting to avoid host-dependent results.

Pinned font development dependencies make internal and open-source rendering self-contained and reproducible.

Changelog: [Internal] Add intrinsic text and input measurement to Fantom with Skia.

Differential Revision: D126888503
rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 26, 2026
Summary:
Pull Request resolved: react#59483

Integrate screenshots into Fantom's existing Jest snapshot workflow so tests catch visual regressions while PNG baselines remain easy to inspect. Immutable captures make comparisons across React updates reliable.

Share Skia and fonts with text measurement to keep layout and painting consistent across Linux and macOS. Pixel hashes make comparisons independent of PNG encoding; saved captures and highlighted differences make failures inspectable in CI and terminals without image support.

Changelog: [Internal] Add Skia screenshot snapshots to Fantom.

Differential Revision: D126888504
rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 26, 2026
Summary:
Pull Request resolved: react#59483

Integrate screenshots into Fantom's existing Jest snapshot workflow so tests catch visual regressions while PNG baselines remain easy to inspect. Immutable captures make comparisons across React updates reliable.

Share Skia and fonts with text measurement to keep layout and painting consistent across Linux and macOS. Pixel hashes make comparisons independent of PNG encoding; saved captures and highlighted differences make failures inspectable in CI and terminals without image support.

Changelog: [Internal] Add Skia screenshot snapshots to Fantom.

Differential Revision: D126888504
rubennorte added a commit to rubennorte/react-native that referenced this pull request Oct 26, 2026
Summary:
Pull Request resolved: react#59483

Integrate screenshots into Fantom's existing Jest snapshot workflow so tests catch visual regressions while PNG baselines remain easy to inspect. Immutable captures make comparisons across React updates reliable.

Share Skia and fonts with text measurement to keep layout and painting consistent across Linux and macOS. Pixel hashes make comparisons independent of PNG encoding; saved captures and highlighted differences make failures inspectable in CI and terminals without image support.

Changelog: [Internal] Add Skia screenshot snapshots to Fantom.

Differential Revision: D126888504
Summary:
Pull Request resolved: react#59483

Integrate screenshots into Fantom's existing Jest snapshot workflow so tests catch visual regressions while PNG baselines remain easy to inspect. Immutable captures make comparisons across React updates reliable.

Share Skia and fonts with text measurement to keep layout and painting consistent across Linux and macOS. Pixel hashes make comparisons independent of PNG encoding; saved captures and highlighted differences make failures inspectable in CI and terminals without image support.

Changelog: [Internal] Add Skia screenshot snapshots to Fantom.

Differential Revision: D126888504
javache pushed a commit to javache/react-native that referenced this pull request Oct 26, 2026
Summary:
Pull Request resolved: react#59483

Integrate screenshots into Fantom's existing Jest snapshot workflow so tests catch visual regressions while PNG baselines remain easy to inspect. Immutable captures make comparisons across React updates reliable.

Share Skia and fonts with text measurement to keep layout and painting consistent across Linux and macOS. Pixel hashes make comparisons independent of PNG encoding; saved captures and highlighted differences make failures inspectable in CI and terminals without image support.

Changelog: [Internal] Add Skia screenshot snapshots to Fantom.

Differential Revision: D126888504

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant