Hi I'm downloading a file from a site and uploading the same downloaded file in the same test run. But In order to upload the file, it asks me to have the file in the fixture folder.
Is there a way for me to change the default download location to fixtures and if that's not possible, how can I upload a file from my cypress/downloads folder. When I use the filepath from there, it gives me the following error:
"A fixture file could not be found at any of the following paths:
apps/mosaic-e2e/src/fixtures/.../cypress/downloads/test-non-date-based.json
apps/mosaic-e2e/src/fixtures/.../cypress/downloads/test-non-date-based.json{{extension}}
Cypress looked for these file extensions at the provided path:
.json, .js, .coffee, .html, .txt, .csv, .png, .jpg, .jpeg, .gif, .tif, .tiff, .zip
Provide a path to an existing fixture file."
Is there a way to move a file from downloads to fixtures as the test runs?? < one other way i was thinking