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

[Bug] Upload file without input element

Open sergio-everis opened this issue 3 years ago • 1 comments

Current behavior:

When I run the test case, I correctly select the element button in the DOM with attachFile() but I cannot upload the file and there isn't any error. It just keep running the next instruction. I don't have any input in my selected element, only a link i

Desired behavior:

Upload a file properly

run time image

test code image

Othes thingsI have tried(adding .click() -> same result but it appears the botton in blue after clicking) : image

app code: image

Versions

"cypress-file-upload": "5.0.7" "cypress": "7.7.0", Windows Chrome

sergio-everis avatar Jan 14 '22 08:01 sergio-everis

Any update on this bug please?

oorebajo avatar Jan 09 '24 15:01 oorebajo