cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
47.08k stars 3.19k forks source link

Upload file without input element in Cypress #23206

Open T-e-j-k-u-m-a-r opened 2 years ago

T-e-j-k-u-m-a-r commented 2 years ago

What would you like?

Cypres should support file upload functionality completly as now relying on npm plugin works out only for the tagname input. Where as if the tagname if non input type ex: button, span.

File upload is working using this plugin : https://www.npmjs.com/package/cypress-file-upload

Why is this needed?

Cypres should support file upload functionality completly as now relying on npm plugin works out only for the tagname input. Where as if the tagname if non input type ex: button, span.

File upload is working using this plugin : https://www.npmjs.com/package/cypress-file-upload

Other

No response

T-e-j-k-u-m-a-r commented 1 year ago

Hi Team,

Any update on this ?

emilyrohrbough commented 1 year ago

@T-e-j-k-u-m-a-r It looks like this has been routed, so it seems like it's been marked as a reasonable feature request that'd we'd be willing to support. It's unlikely out team will be prioritizing this work through. If you have an interested in contributing this change, we'd appreciate it!