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

[Bug] - attachFile method is duplicating attachments in Firefox

Open SantiagoSM opened this issue 4 years ago • 4 comments

** Current behavior:**

I have a suite with different tests to add attachments following the next structure :

let filenames = ['files/test2.pdf','files/test3.pdf']; cy.get('.mydropzone').attachFile(fileNames, { subjectType: 'drag-n-drop' }); ` The first test is executing fine in Firefox, adding the two files, but the second, adds 4 files, the thrid 6 files...and so on

image

Desired behavior:

The expected behaviour is only adds the send fles to the dropzone, as on the other browsers (Electron, Chrome) is already happening

Steps to reproduce: (app code and test code)

Versions

Cypress 8.5.0 Firefox 91 Ubuntu and Windows 10

SantiagoSM avatar Nov 05 '21 11:11 SantiagoSM

Is there any update regarding this bug? Is it logged somewhere? @abramenal

egmox avatar Nov 28 '23 06:11 egmox

@egmox I don't think so, this is still a relevant issue to look into

abramenal avatar Nov 28 '23 13:11 abramenal

Any updates??