Skip to content

Commit screenshot baselines and un-ignore them in .gitignore#55

Open
EmilioBejasa wants to merge 1 commit intotidy/library-provides-test-activityfrom
tidy/commit-screenshot-baselines
Open

Commit screenshot baselines and un-ignore them in .gitignore#55
EmilioBejasa wants to merge 1 commit intotidy/library-provides-test-activityfrom
tidy/commit-screenshot-baselines

Conversation

@EmilioBejasa
Copy link
Copy Markdown
Collaborator

Summary

  • Add !android/app/screenshots/*.png exception to .gitignore so baseline screenshots can be committed
  • Commit the 6 baseline screenshots recorded locally

Why

Previously *.png was gitignored globally, meaning verifyDebugAndroidTestScreenshotTest had no committed baseline to compare against — it only passed because record and verify ran back-to-back in the same session. Now baselines live in the repo and verify does real pixel comparison.

Test plan

  • Corrupted a baseline → verifyDebugAndroidTestScreenshotTest failed with a VerifyError
  • Restored baseline → verify passes clean

🤖 Generated with Claude Code

Allow android/app/screenshots/*.png through the gitignore so baselines
can be committed and local verify has something to compare against.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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