Skip to content

Fuzz all screenshot comparisons to cut diff noise - #3

Merged
hannesa2 merged 1 commit into
mainfrom
fuzzy-screenshot-compare
Sep 30, 2026
Merged

hannesa2 merged 1 commit into
mainfrom
fuzzy-screenshot-compare

Conversation

@hannesa2

Copy link
Copy Markdown
Owner

git-diff-image's compare step only defaults to 5% fuzz for JPEGs; PNG screenshots (what GitX's UI tests produce) got 0% fuzz, so harmless per-run rendering noise showed up as a diff just as loudly as a real regression.

git-diff-image's compare step only defaults to 5% fuzz for JPEGs; PNG
screenshots (what GitX's UI tests produce) got 0% fuzz, so harmless
per-run rendering noise showed up as a diff just as loudly as a real regression.
@hannesa2
hannesa2 force-pushed the fuzzy-screenshot-compare branch from 7cdd3dd to 947d78a Compare September 30, 2026 06:04
@hannesa2
hannesa2 merged commit ecdc3aa into main Sep 30, 2026
@hannesa2
hannesa2 deleted the fuzzy-screenshot-compare branch September 30, 2026 08:09
hannesa2 added a commit to gitx/gitx that referenced this pull request Sep 30, 2026
Add GIT_DIFF_IMAGE_FUZZ env var to fuzz all image comparisons

refs: hannesa2/git-diff-image#2
refs: hannesa2/screenShotScript#3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant