just wanted to ask if this is possible to change the location folder for recorded file? I am running tests for two different applications, one after another, and when tests are finished for both of them, I can only access the latest recording.
Thanks in advance!
You can add
videosFolder
attribute in your cypress config file with the folder path.You can override the videosFolder path from the CLI, something like this:
In your
package.json
, create two scripts like this:Then as per the project, directly run the commands: