cypress-failed-log icon indicating copy to clipboard operation
cypress-failed-log copied to clipboard

How do you specify the directory the generated files go in?

Open kristiehowboutdat opened this issue 7 years ago • 1 comments

I'd like to put the outputted json files in a folder adjacent to cypress/screenshots, ex. cypress/failure-logs, so that I can upload them in my CI system on failure, and ignore them easily using git when running locally.

How can I specify a target directory to use instead of the package.json root directory?

Thank you for creating this!

kristiehowboutdat avatar May 23 '18 00:05 kristiehowboutdat

I have started using this and also want to be able to move these logs. Our use case is that we store all of our tests in a tests directory, so we have all the other cypress files in tests/cypress/* and were able to specify those in the cypress.json file.

drewbrend avatar Jan 04 '19 17:01 drewbrend