Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]Unable to uploading image when html tag as button #372

Open
rjena2 opened this issue Jul 15, 2022 · 1 comment
Open

[Bug]Unable to uploading image when html tag as button #372

rjena2 opened this issue Jul 15, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@rjena2
Copy link

rjena2 commented Jul 15, 2022

Current behavior:

Unable to uploading image when html tag as button

Desired behavior:

Should able to upload image for tag as button

Steps to reproduce: (app code and test code)

fixtures file:
copy an image file under fixture folder
eg. 'test.jpg'

spec file:
const img = 'test.jpg'

cy.contains('Upload').should('be.visible').should('be.enabled')
Above step is working as expetced.

cy.contains('Upload').attachFile(img);
Above step is not return any error but it is not uploading image.
Uploading image.png…

Versions

Cypress 10
Windows 10

@rjena2 rjena2 added the bug Something isn't working label Jul 15, 2022
@idanElitzur
Copy link

any news regarding this one?
I dealing with the same issue :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants