So I have a div that activates input (type file). ...
# e2e-testing
t
So I have a div that activates input (type file). The problem is that I want to test if the image upload is working. I created an e2e test that looks like that:
cy.get("#image-upload").click().selectFile("file");
. After running the test image isn't selecting but (at least on my computer) opening 'open file' window. Is there any way to fix that without selecting input that is hidden?