Skip to content

Tolerate sub-pixel noise in rotated visual tests - #59430

Closed
christophpurrer wants to merge 1 commit into
react:mainfrom
christophpurrer:export-D127274477
Closed

christophpurrer wants to merge 1 commit into
react:mainfrom
christophpurrer:export-D127274477

Conversation

@christophpurrer

Copy link
Copy Markdown
Contributor

Summary:
Rotated transform screenshots compare pixel-exact, so one anti-aliased edge pixel fails the check. Give the three rotated transform tests the default threshold, includeAA: false, and maxDiffPixels of 100. Genuine rendering changes still alter thousands of pixels.

Changelog: [Internal]

Differential Revision: D127274477

Summary:
Rotated transform screenshots compare pixel-exact, so one anti-aliased edge pixel fails the check. Give the three rotated transform tests the default `threshold`, `includeAA: false`, and `maxDiffPixels` of 100. Genuine rendering changes still alter thousands of pixels.

Changelog: [Internal]

Differential Revision: D127274477
@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 23, 2026
@meta-codesync

meta-codesync Bot commented Oct 23, 2026

Copy link
Copy Markdown

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

@meta-codesync meta-codesync Bot closed this in e12c57e Oct 24, 2026
@react-native-bot react-native-bot added the Merged This PR has been merged. label Oct 24, 2026
@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @christophpurrer in e12c57e

When will my fix make it into a release? | How to file a pick request?

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. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants