currents-dev/cypress-cloud

Videos are not getting uploaded when `videoUploadOnPasses` is true

Closed this issue · 3 comments

Before opening, please confirm:

  • I have searched for duplicate or closed issues and discussions.
  • I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
  • I acknowledge that I will attach a full debug log, otherwise the issue will be closed with no response.

Environment information

# Put output below this line
Reported via in-app chat

Describe the bug

Reported via in-app chat - customer has videoUploadOnPasses: true and no videos are getting uploaded

Expected behavior

Videos should appear

Command and Setup

n/a

Full log and debug output

// Put your logs below this line


On sorry-cypress 2.5.3 I saw that when I run tests with cypress-cloud 1.5.0 and 1.5.3, the screenshots and videos are uploaded in a way that sorry-cypress delivers them as application/json rather than binary/octet-stream. Is this the same issue?

Wrong (Cypress 12.6.0 + cypress-cloud 1.5.3):
image

image

Correct (Test was run with cy2 and older version of Cypress):
image

I think it worked (need to check) when I ran tests with cypress-cloud 1.4.4 via npx cypress-cloud..

I can confirm that cypress-cloud 1.4.4 uploads screenshots and videos correctly to sorry-cypress (2.5.3) and when using 1.5.3, the artifacts are delivered as application/json. Cypress 12.6.0.
It's running in the cypress/included Docker image.

Not an issue with the package. Internal currents bug.