filename.tar.gz file upload in cypress #18585
Lavanyashankar09
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Does cypress support filename.tar.gz file upload?
clickBrowse(){
const filename = 'filename.tar.gz'
cy.xpath('//input[@type="file"]')
.attachFile(filename)
return this
}
if I give .zip, .css, .txt, .jsp files it works but with .tar.gz file I get "upload a valid format"
Beta Was this translation helpful? Give feedback.
All reactions