Skip to content

Ws-pixelmatch-compare-options#1182

Merged
wswebcreation merged 4 commits into
ws-ignore-feature-parityfrom
ws-pixelmatch-compare-options
Jul 11, 2026
Merged

Ws-pixelmatch-compare-options#1182
wswebcreation merged 4 commits into
ws-ignore-feature-parityfrom
ws-pixelmatch-compare-options

Conversation

@wswebcreation

@wswebcreation wswebcreation commented Jul 7, 2026

Copy link
Copy Markdown
Member
  • add compareOptions.pixelmatch as direct alternative to ignore* presets
  • throw when ignore* and pixelmatch are combined on the same config
  • resolve pixelmatch defaults, diff colour refactor, and diffMask path
  • add JSDoc, snapshots, and minor changeset with usage examples
  • trim core README; link pixelmatch repo only (WDIO docs elsewhere)
  • ignore* preset parity fixes (last-wins ordering, resemble luma, golden fixtures)
  • add E2E tests for the new options

- add compareOptions.pixelmatch as direct alternative to ignore* presets
- throw when ignore* and pixelmatch are combined on the same config
- resolve pixelmatch defaults, diff colour refactor, and diffMask path
- add JSDoc, snapshots, and minor changeset with usage examples
- trim core README; link pixelmatch repo only (WDIO docs elsewhere)
@changeset-bot

changeset-bot Bot commented Jul 7, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a1efd3b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes changesets to release 2 packages
Name Type
@wdio/image-comparison-core Minor
@wdio/visual-service Minor

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

- throw only when ignore* and pixelmatch coexist in the same options object
- let method options override service compare mode on merge
- warn when method switches preset vs pixelmatch relative to service
- add pixelmatchFixture helper with canvas fixtures via browser.execute
- add pixelmatch.basic.spec.ts for threshold, includeAA, diff colors, and diffMask
- add desktop Chrome baselines for pixelmatch tags
- document alpha, checkerboard, and exclusivity as unit-test-only
@wswebcreation wswebcreation merged commit 2a1fac6 into ws-ignore-feature-parity Jul 11, 2026
10 checks passed
@wswebcreation wswebcreation deleted the ws-pixelmatch-compare-options branch July 11, 2026 04:44
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