I want to download the artifacts generated by Cypress on LambdaTest?

Your text will be rewritten by QuillBot. Start by typing or pasting something into this box, then hit the enter key.

Hey Helen,

Following are the steps:

  1. Add the “downloads” capability in the lambdatTest-config.json file and define the files/directories that you wanted to download in this capability.

  2. Append –sync flag in the run command as mentioned below and run your test on the LambdaTest platform. Once the test gets executed, you will find a session_id on the console corresponding to the executed test.

lambdatest-cypress run --sync=true

  1. Pass the session id from the console to the following command lambdatest-cypress

     generate-report \
         --user=username \
         --access_key=accesskey \
         --sid=SESSION_ID
    

    The artifacts will be available in the downloads folder