You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can now test file downloads in Cypress without the download prompt displaying. Any files downloaded while testing file downloads will be stored in the downloadsFolder which is set to cypress/downloads by default. The downloadsFolder will be deleted before each run unless trashAssetsBeforeRuns is set to false.
This means that if you had any code written to prevent the download prompt or to configure the download location (like in a before:browser:launch event handler), you can remove all of these workarounds.
Our file download recipe has been updated, so you can see some ways to test different types of files after they've been downloaded there.
If you're encountering any bugs while testing file downloads, please open a new issue.
Hello,
I'm struggling problem with running tests in CLI.
Tests clicks download button in
npx cypress open
, the windows is not opened, file is downloaded.But in CLI runs cypress open that window:
How can I handle this?
The text was updated successfully, but these errors were encountered: