Closed
Description
Current behavior:
If you set videoUploadOnPasses
to false, Cypress will not upload a video for successful tests. However, a video link is still shown in the dashboard for these tests and if you click it, you will get a page with the message The media could not be loaded, either because the server or network failed or because the format is not supported
Desired behavior:
If no video was uploaded there should be no video link in the dashboard
Steps to reproduce: (app code and test code)
Set the videoUploadOnPasses
option to false and run a successful test. No video will be uploaded. Go to the dashboard and locate this test. It will have a link to play a video. If you click on the link you will get the message posted above
Versions
Cypress 3.1.3
images
This is what we see for a successful test. Notice the video button which can be clicked