Form can now be submitted #32
markhuot
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
You can now interact with basic forms during your tests. For pages with a single form you may call
->fill()->submit()
to make a nested request at the form's action.Under the hood this uses the
symfony/dom-crawler
Form
class and has functionality to fill in inputs, check checkboxes, select options from a select box, and click buttons.The submission response is returned from the submit method and can be chained on to an existing test.
Beta Was this translation helpful? Give feedback.
All reactions