Repository navigation
Test fetch with form data #1637
Answered
by
costiiordan
costiiordan
asked this question in
Q&A
|
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 |
Answered by
costiiordan
Feb 13, 2026
Replies: 1 comment
|
I have found the problem. |
0 replies
Answer selected by
costiiordan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.