We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Unable to uploading image when html tag as button
Should able to upload image for tag as button
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.
Cypress 10 Windows 10
The text was updated successfully, but these errors were encountered:
any news regarding this one? I dealing with the same issue :/
Sorry, something went wrong.
abramenal
No branches or pull requests
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.
Versions
Cypress 10
Windows 10
The text was updated successfully, but these errors were encountered: