We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
required
https://codesandbox.io/s/determined-dan-emcumz?file=/src/App.test.js
<input type="file" required />
userEvent.upload()
userEvent.upload should pass valueMissing constraint.
Validation fails due to valueMissing constraint. Consequently, forms that contain a required file input cannot be submitted using userEvent.
14.4.3
No response
The text was updated successfully, but these errors were encountered:
Closing this as duplicate of #801 . Impact on form submit also reported in #1094
Sorry, something went wrong.
No branches or pull requests
Reproduction example
https://codesandbox.io/s/determined-dan-emcumz?file=/src/App.test.js
Prerequisites
<input type="file" required />
element.userEvent.upload()
a file to it.Expected behavior
userEvent.upload should pass valueMissing constraint.
Actual behavior
Validation fails due to valueMissing constraint. Consequently, forms that contain a
required
file input cannot be submitted using userEvent.User-event version
14.4.3
Environment
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: