cypress-file-upload
cypress-file-upload copied to clipboard
[Bug] - attachFile method is duplicating attachments in Firefox
** 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

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
Is there any update regarding this bug? Is it logged somewhere? @abramenal
@egmox I don't think so, this is still a relevant issue to look into
Any updates??