-
Notifications
You must be signed in to change notification settings - Fork 204
Open
Description
Hi,
I created this issue in the tool we use to take snapshots but it seems the issue is related the how jest takes snapshots simonsmith/cypress-image-snapshot#63
we currently have components where we have assets some text. All snapshots are taken on firefox, chrome and edge with https://github.com/simonsmith/cypress-image-snapshot
Both edge and chrome are always fine, but firefox keeps randomly failing them because the image seems different (which is not case).
my setting are as follows
const options: CypressImageSnapshotOptions = {
failureThreshold: 0.01,
allowSizeMismatch: true,
failureThresholdType: 'percent',
capture: 'viewport',
comparisonMethod: 'ssim',
customSnapshotsDir: `./cypress/reports/mochareports/snapshots/${Cypress.spec.fileName}`,
e2eSpecDir: Cypress.spec.relative,
snapFilenameExtension: '.snap',
};
Metadata
Metadata
Assignees
Labels
No labels
