You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an upload file element in my website, it uploads the file directly after selecting it (without existing any button to click on it to upload), when i try to automate it using cypress-file-upload package, it just attach the file but without upload it!, How can i handle that?
Here is my code i use: cy.get([id=${field}]).attachFile(file)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have an upload file element in my website, it uploads the file directly after selecting it (without existing any button to click on it to upload), when i try to automate it using cypress-file-upload package, it just attach the file but without upload it!, How can i handle that?
Here is my code i use:
cy.get(
[id=${field}]).attachFile(file)
Beta Was this translation helpful? Give feedback.
All reactions