jaredpalmer / cypress-image-snapshot

Catch visual regressions in Cypress
MIT License
890 stars 159 forks source link

I am getting the expected failure but the image doesn't have the red spots #232

Closed melibe23 closed 2 years ago

melibe23 commented 2 years ago

Do you have any idea what could it be? I would expected the R to be kind of red. image

This is my config:

addMatchImageSnapshotCommand({
  failureThreshold: 0.1, // threshold for entire image
  failureThresholdType: 'percent', // percent of image or number of pixels
  customDiffConfig: { threshold: 0.7 }, // threshold for each pixel
  capture: 'fullPage', // capture viewport in screenshot
})
melibe23 commented 2 years ago

No one knows?