cypress-file-upload icon indicating copy to clipboard operation
cypress-file-upload copied to clipboard

Trying to upload large or small video files then accepted fails

Open HindyB opened this issue 4 years ago • 0 comments

Hello, in my case where I used mp4box library to have a check on video metadata before sending a video, the above workaround does not work. It produces wrong video metadata. The below workaround works:

  • set encoding to base64 in cy.fixture()
  • set encoding in cypress-file-upload .attachFile to base64.

Hello, Thank you for this, however, I'm trying to upload large or small video files then accepted, in order to test the right error message. The following result is obtained: image

Originally posted by @HindyB in https://github.com/abramenal/cypress-file-upload/issues/136#issuecomment-850492050

HindyB avatar May 30 '21 18:05 HindyB