Skip to content

fix: support saved screenshot diffs#404

Merged
thymikee merged 1 commit intomainfrom
fix/diff-screenshot-current-file
Apr 12, 2026
Merged

fix: support saved screenshot diffs#404
thymikee merged 1 commit intomainfrom
fix/diff-screenshot-current-file

Conversation

@thymikee
Copy link
Copy Markdown
Contributor

Summary

Support diff screenshot --baseline <baseline.png> <current.png> so saved screenshots can be compared without an active session or live screenshot capture.

Reject --overlay-refs for saved-image comparisons because there are no live accessibility refs, add minimal color to screenshot diff text output, and document the saved-image workflow. Touched 6 files; scope stayed within the diff screenshot command/docs surface.

Validation

  • pnpm format
  • pnpm test src/utils/__tests__/output.test.ts src/__tests__/cli-diff.test.ts
  • pnpm check:quick
  • pnpm check:unit
  • node --experimental-strip-types src/bin.ts diff screenshot --baseline ~/Downloads/IMG_8160.PNG ~/Downloads/simulator_screenshot_B3AD5337-53C6-4B34-AB5B-CDB8A0864CB9.png

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 12, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-04-12 12:10 UTC

@thymikee thymikee merged commit 17317d0 into main Apr 12, 2026
16 checks passed
@thymikee thymikee deleted the fix/diff-screenshot-current-file branch April 12, 2026 12:09
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