Skip to content

docs(visual-testing): diffs for warned assertions, diff names, cloud … - #174

Merged
finalerock44 merged 2 commits into
mainfrom
docs/assert-screenshot-diffs
Nov 17, 2026
Merged

finalerock44 merged 2 commits into
mainfrom
docs/assert-screenshot-diffs

Conversation

@finalerock44

Copy link
Copy Markdown
Contributor

…baselines

  • Every assertScreenshot that doesn't match returns a diff, including optional: true ones that only warn. Say so on both pages.
  • Diffs are named after the flow and the baseline, with an example, and a baseline asserted twice gets a diff for each from Maestro 2.12.0.
  • From Maestro 2.12.0 a local run writes the diff to Maestro's output folder, not beside the baseline. The *_diff.png clean-up warning now applies to 2.11 and earlier.
  • A baseline cropped with cropOn can be captured on DeviceCloud with takeScreenshot and used as downloaded, .jpg and all. The download warning now covers full-screen baselines only: screenshots up to 1080 px tall keep their size.
  • The artifacts page says how screenshots are named and sized.

Ship after dcd #2122 and #2124 reach production.

@finalerock44 finalerock44 self-assigned this Nov 16, 2026
@claude

claude Bot commented Nov 16, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

…baselines

- Every assertScreenshot that doesn't match returns a diff, including
  optional: true ones that only warn. Say so on both pages.
- Diffs are named after the flow and the baseline, with an example, and a
  baseline asserted twice gets a diff for each from Maestro 2.12.0.
- From Maestro 2.12.0 a local run writes the diff to Maestro's output
  folder, not beside the baseline. The *_diff.png clean-up warning now
  applies to 2.11 and earlier.
- A baseline cropped with cropOn can be captured on DeviceCloud with
  takeScreenshot and used as downloaded, .jpg and all. The download warning
  now covers full-screen baselines only: screenshots up to 1080 px tall keep
  their size.
- The artifacts page says how screenshots are named and sized.

Ship after dcd #2122 and #2124 reach production.
Pixel 7 is deprecated and due for removal, and the rest of the page
already uses Pixel 8 on API 34.
@finalerock44
finalerock44 force-pushed the docs/assert-screenshot-diffs branch from 65beb7b to 53258c1 Compare November 17, 2026 17:51
@finalerock44
finalerock44 merged commit 9e48539 into main Nov 17, 2026
2 checks passed
@finalerock44
finalerock44 deleted the docs/assert-screenshot-diffs branch November 17, 2026 17:53
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