Hello iam bit confused about failureThreshold value
addMatchImageSnapshotCommand({
failureThreshold: 0.03, // threshold for entire image
failureThresholdType: 'percent', // percent of image or number of pixels
customDiffConfig: { threshold: 0.1 }, // threshold for each pixel
capture: 'viewport', // capture viewport in screenshot
});
Above code is written in official documentation and i found that if failureThreshold: 0.03 then it equals to 3% and not 0.03%
Is it 3% or 0.03% ?
Hello iam bit confused about failureThreshold value
Above code is written in official documentation and i found that if failureThreshold: 0.03 then it equals to 3% and not 0.03% Is it 3% or 0.03% ?
versions: cypress: ^3.8.3, cypress-image-snapshot: ^3.1.1