Skip to content
New issue

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

Error when specify customSnapshotsDir outside cypress folder #94

Open
eljivarughese opened this issue Jul 25, 2019 · 1 comment
Open

Comments

@eljivarughese
Copy link

When i run my test i dont want to save any screenshots on the agent machine i want to save these images to custom directory when i try to do this i am getting this error RangeError: Maximum call stack size exceeded. this works fine if i give a folder path inside cypress directory like this cypress\my folder

Can we actually save screenshot files to a different folder path than the cypress directory?
Please this may be the format issue - can please help me on this -Thanks

addMatchImageSnapshotCommand(

{
 failureThreshold: 0.00, // threshold for entire image
 failureThresholdType: 'percent', // percent of image or number of pixels
 customDiffConfig: { threshold: 0.0 }, // threshold for each pixel
 capture: 'viewport', // capture viewport in screenshot
 customSnapshotsDir:'C:\foldername',
 customDiffDir:'C:\foldername'
 }
);
@nani554
Copy link

nani554 commented Jun 29, 2020

jest-image-snapshot has this feature, y not its implemented here. after 1 month this issue will be completing 1 year without any response from cypress-image-snapshot dev. team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants