Skip to content

Commit

Permalink
test: expand test coverage around forms
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.
* Dedup 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 (remix-run#4420)
   * Form serialization problems with JavaScript enabled (remix-run#4342)
  • Loading branch information
jenseng committed Oct 26, 2022
1 parent 4e8cbd8 commit 718cef5
Show file tree
Hide file tree
Showing 2 changed files with 610 additions and 573 deletions.
Loading

0 comments on commit 718cef5

Please sign in to comment.