We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I configured snapFilenameExtension to an empty string to not have the .snap for each snapshot, but it does seems to break everything.
snapFilenameExtension
.snap
these are the issues it creates
it does however still creates a .diff snapshot, which is normal.
this is my current config
const options: CypressImageSnapshotOptions = { failureThreshold: 0.1, allowSizeMismatch: true, failureThresholdType: 'percent', capture: 'viewport', comparisonMethod: 'ssim', customSnapshotsDir: `./cypress/reports/mochareports/snapshots/something`, e2eSpecDir: Cypress.spec.relative, snapFilenameExtension: '', };
I tried to remove the snapFilenameExtension and add the .snap on each snapshot and then everything works fine.
The text was updated successfully, but these errors were encountered:
Just to clarify the issue, you were aiming to not have the .snap at all?
- cypress/snapshots/someTest/takes a snapshot of the page.snap.png + cypress/snapshots/someTest/takes a snapshot of the page.png
Sorry, something went wrong.
Hi @simonsmith
That is what I indeed want, but it seems that using the option breaks stuff
simonsmith
No branches or pull requests
Hi,
I configured
snapFilenameExtension
to an empty string to not have the.snap
for each snapshot, but it does seems to break everything.these are the issues it creates
it does however still creates a .diff snapshot, which is normal.
this is my current config
I tried to remove the
snapFilenameExtension
and add the.snap
on each snapshot and then everything works fine.The text was updated successfully, but these errors were encountered: