Reproduction example
https://codesandbox.io/s/userevent-fail-if-text-field-content-is-max-length-at-clear-event-rhi8si?file=/index.html
Prerequisites
- define a textfield with max length
- fill it with max length content
- try to clear it in test -> fails on clear, content is still in the textfield
Expected behavior
userEvent also works on textfields with max length content
Actual behavior
clear userEvent fails on textfields with filled max length content
User-event version
14.0.4
Environment
No response
Additional context
No response
Reproduction example
https://codesandbox.io/s/userevent-fail-if-text-field-content-is-max-length-at-clear-event-rhi8si?file=/index.html
Prerequisites
Expected behavior
userEvent also works on textfields with max length content
Actual behavior
clear userEvent fails on textfields with filled max length content
User-event version
14.0.4
Environment
No response
Additional context
No response