Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add a feature from within cypress that helps with writing to a file #179
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