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

Add a feature from within cypress that helps with writing to a file #179

adokania opened this Issue Jun 30, 2016 · 2 comments


4 participants

adokania commented Jun 30, 2016

Currently I am trying to setup my test suite and want to write the response object received into a file in the fixture directory for future comparisons. This helps me bypass the manual process of having to copy the object to a file, which is tedious in any case from the console.

The VCR mode might be an option, but what if I am not using the cy.server directly and have my own tool that is making the request from within cypress. Having an independent writeToFile option would be a good addition imo

@brian-mann brian-mann added this to the 0.17.x milestone Jul 12, 2016

@brian-mann brian-mann self-assigned this Jul 12, 2016


This comment has been minimized.


brian-mann commented Jul 12, 2016

We'll be adding writeFile and readFile API's sometime in 0.17.x

@brian-mann brian-mann modified the milestones: 0.16.6, 0.17.x Aug 22, 2016

@brian-mann brian-mann modified the milestones: 0.17.x, 0.16.6 Aug 31, 2016

@chrisbreiding chrisbreiding modified the milestones: 0.17.x, 0.17.1 Aug 31, 2016


This comment has been minimized.


brian-mann commented Sep 1, 2016

Fixed in 0.17.1.

@brian-mann brian-mann closed this Sep 1, 2016

@cypress-io cypress-io locked as resolved and limited conversation to collaborators Dec 6, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.