Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

cypress-image-diff-js

1.7.0 • Public • Published

cypress-image-diff

Visual regression test with cypress

This tool was created to make visual regression as simple as possible, by exposing basic functions that allow you to view the difference between images. The wrapper uses pixelmatch which is simple and powerful and relies on cypress to take screenshots.

NPM Downloads

Build Status

Table of contents

Capabilities

  • Compares 2 images
  • Saves baseline if no baseline is present
  • Creates a diff image in case of failure
  • Force browser window size (size can be modified via options)
  • Take screenshot of the whole page or for a given element
  • Reporting to make it easier to debug failed test results

Install

npm i cypress-image-diff-js

DownloadsWeekly Downloads

46

Version

1.7.0

License

MIT

Unpacked Size

270 kB

Total Files

48

Last publish

Collaborators

  • avatar