-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
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
userEvent.keyboard('{Escape}') not working in v14 #969
Comments
See #842 You should file an issue with |
Thanks for your super fast reply, @ph-fritsche! Sorry I missed #946—didn't realize that the issue could be caused by how |
Note for posterity: this should be fixed in |
Reproduction example
https://codesandbox.io/s/v14-userevent-keyboard-escape-14jq5t
Prerequisites
@testing-library/user-event@13
, create a test that does something when pressing'{Escape}'
(e.g. close a dialog). v13 CodeSandboxawait
theuserEvent.keyboard()
call. v14 CodeSandboxuserEvent.keyboard()
failsExpected behavior
userEvent.keyboard('{Escape}')
should still work in v14Actual behavior
It doesn't—unless I'm missing something?
User-event version
14.2.0
The text was updated successfully, but these errors were encountered: