Add support for changing path to the downloads folder in cypress configuration
See original GitHub issueHello,
could you add to the configuration something like:
downloadFolder: cypress/download
Normally it’s downloaded to the /Users/username/Downloads/fileName.example but I want to make it more elastic for other people which after running the tests, doesn’t have to change path to the downloads.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:27 (5 by maintainers)
Top Results From Across the Web
Configuration - Cypress Documentation
Path to folder where files downloaded during a test are saved. fileServerFolder, root project folder, Path to folder where application files will attempt...
Read more >Configurations in Cypress and How to Disable Default ...
What are the default Configurations for folder/files provided by Cypress? ; supportFile, cypress/support/index.js, This configuration specifies ...
Read more >Issue handling file download from cypress - Stack Overflow
I solved it with the index.js file in the plugins folder by doing the ... You can change the download path in your...
Read more >Test file download in Cypress | BrowserStack Docs
In Cypress, you can download a file from a web app using the cypress-downloadfile NPM package. The downloaded file is available in the...
Read more >How to download a file in cypress - TestersDock
Cypress will automatically create Download folder under fixtures, if it is not there previously. cy.readFile('cypress/fixtures/Download/test.txt ...
Read more >Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ris314, I changed the download folder as u suggested in the previous comment, that code works fine with chrome browser, but I am getting an error while I am running test cases in electron browser Below is error response
This issue is not a duplicate, the referenced ticket above focusses on the download dialogue, and only mentions changing the download location.
Still having issue in changing the default location