Test fetch with form data #1637
-
|
When I execute tests on pages that use fetch to send form data to the server, the form data is not sent. Controller: View: On browser when I click on "Test" button, I see "Hello from JS!". When I execute the PEST test The test fails with the following message: In the screenshot I see: "No input provided". Does anyone knows what is the cause of this issue? The issue can be reproduced in this repository |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I have found the problem. |
Beta Was this translation helpful? Give feedback.
I have found the problem.
The issue is in pest-plugin-browser package. It does not support multipart form requests.
There is a PR that tries to solve this issue.
I hope it get's merged and released soon.