0

I have been trying to create a test case where a file uploads successfully in Cypress by installing the cypress-file-upload plugin. However, it keeps returning a false positive. After doing further research, it seems that this plugin is not 100% dependable - It's hit or miss. I Was wondering if anyone had any workarounds for this and/or other solutions as to how to upload a file in Cypress. The stack is Node for the backend and Angular for the front end.

Cholis
  • 61
  • 1
  • 2
  • 5

1 Answers1

0

I have had issues with this plugin as well, one thing I would recommend is make sure to check if your input is hidden within the dom.

csb00
  • 1,091
  • 2
  • 18
  • 36