@teamteanpm2024/et-ex-voluptatum
v1.2.4
Published
<p align="center"> <a href="https://cypress.visual-image-diff.dev/"><img src="./cypress-image-diff-logo.png" width="150" /></a> </p>
Downloads
14
Maintainers
Keywords
Readme
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.
Writing a test is as simple as this:
describe('Visuals', () => {
it('should compare screenshot of the entire page', () => {
cy.visit('www.google.com')
cy.compareSnapshot('home-page')
})
})
Beautiful HTML Report
Update baseline screenshots with one click
Support different screenshot inspectors
Cypress Image Diff documentation
Above you will find comprehensive documentation on how to setup this plugin within a cypress test suite