Closed ngianluca closed 3 years ago
Hi @ngianluca
Thanks for submitting the issue!
Currently jar
file extension is not supported out of the box, so you have to specify encoding
property. I think it should work if you do as follows:
.attachFile('monitoring-1.1.3.jar', { subjectType: 'drag-n-drop', mimeType: 'application/java-archive', encoding: 'binary' })
Please let me know if that works out, so I can add built-in support for this extension. Cheers!
Current behavior:
Uploading a jar file corrupts it and it becomes unusable.
Desired behavior:
The file is able to be uploaded without being corrupted.
Steps to reproduce: (app code and test code)
Versions:
8.0.0 of cypress 5.0.8 of the plugin
tested with the latest chrome and firefox