Skip to content

Commit

Permalink
test: expand test coverage around forms (#4365)
Browse files Browse the repository at this point in the history
* Rework all form tests to run both with and without JavaScript. This way we
  can better detect/prevent regressions or inconsistencies between how <form>
  and <Form> work.
* Dedupe and expand form method tests to ensure we cover all supported Form
  methods and submitter formMethods
* Expand coverage around form serialization (tree order, image submit buttons,
  files in URL-encoded payloads)
* Conditionally mark tests as failing (via test.fail):
   * Non-get/post <Form> methods with JavaScript disabled (#4420)
   * Form serialization problems with JavaScript enabled (#4342)
  • Loading branch information
jenseng authored Oct 28, 2022
1 parent c546a15 commit 8fd8ba0
Show file tree
Hide file tree
Showing 2 changed files with 610 additions and 573 deletions.
Loading

0 comments on commit 8fd8ba0

Please sign in to comment.