Client options
Update baseline client option
Update all baseline images for failing tests
Update a list of baseline images
Last updated
In order to reduce manual work a cli option is available to copy over the comparison images into the baseline folder when there is a test failure.
Notice that you should run this command after the test suite runs. The below command will only update baseline images that have a diff image, which basically means a test failure.
$ cypress-image-diff -u
It's important that you ensure the comparison image is the correct representation of the page under test as it will be copied over to the baseline.
This functionality is yet to be developed.
Last updated