New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Posting a form. #123
Comments
not yet, there are no default actions at this time. |
This is probably much easier to implement now that I've implemented the form data algorithm (in FormData-impl.js). However the navigation after the form submission would of course still not work. |
After form is submitted, how to read the response body? For example resourceLoader did not trigger anything after a submitted form in a iframe. |
Form submission is not currently implemented, so it is not possible. |
Any changes with this? |
It looks like form submission is partially implemented. It dispatches a HTMLEvent but does not support the submit method. Minimal reproduction As a Mocha + Chai test:
What is expected? Submit works without any errors. What happens? Test succeeds but returns this error:
|
Is this ever going to be addressed? I can't find a single work-around for "react-testing-library" + Jest that actually makes sense and works. |
Having trouble figuring out how to post a form using jsdom and jquery. is this possible?
var form = '
';$(form).appendTo('body');
$('form').submit();
The above doesn't work for me, should it, or am I doing something wrong?
The text was updated successfully, but these errors were encountered: