I am trying to upload a file without an input element with cypress-file-upload library, using .attachFile(), and I haven't be able so far. I don't get any error it just doesn't upload the file. I have tried it in other part of my app with input element and it is working fine. Is there any other way of doing it? Or am I doing something wrong?
I am using this:

and this is the code in my app

Any idea? Thanks a lot, any tip is welcome :D
Versions: "cypress-file-upload": "5.0.7" "cypress": "7.7.0", Windows Chrome
 
     
    