abramenal / cypress-file-upload

File upload testing made easy
https://npm.im/cypress-file-upload
MIT License
496 stars 89 forks source link

[Bug] Upload file without input element #355

Open sergio-everis opened 2 years ago

sergio-everis commented 2 years ago

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

oorebajo commented 5 months ago

Any update on this bug please?