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
Hi, I'm currently testing an application that can be configured to accept or deny some mimeTypes based on the customer settings. So I'm using this lib to upload files, and it has worked great, but I stumbled on this scenario where I want to set a different mimeType for an extension (example: 'file.pdf' with mimeType 'video/x-ms-wmv') to see if everything works fine.
Current Behavior:
Setting a mimeType option doesn't alter the mimeType of the file (even if cypress says it does).
Desired Behavior:
Setting a mimeType option should change the file mimeType.
Question:
Is this behavior intended? The mimeType option just describes the file type or it should change the type?
Steps to reproduce:
obs: I'm using cucumber.
The website visited tests the file to get its mimeType.
I have a simillar problem here, which makes my upload fail.
The "Content-type" in the multipart/form-data for the file is not set and is just "null", not respecting the mimeType setting.
Hi, I'm currently testing an application that can be configured to accept or deny some mimeTypes based on the customer settings. So I'm using this lib to upload files, and it has worked great, but I stumbled on this scenario where I want to set a different mimeType for an extension (example: 'file.pdf' with mimeType 'video/x-ms-wmv') to see if everything works fine.
Current Behavior:
Setting a mimeType option doesn't alter the mimeType of the file (even if cypress says it does).
Desired Behavior:
Setting a mimeType option should change the file mimeType.
Question:
Is this behavior intended? The mimeType option just describes the file type or it should change the type?
Steps to reproduce:
obs: I'm using cucumber.
The website visited tests the file to get its mimeType.
The text was updated successfully, but these errors were encountered: