user-event
https://github.com/testing-library/user-event
TypeScript
π Simulate user events
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
TypeScript not yet supported1 Subscribers
Add a CodeTriage badge to user-event
Help out
- Issues
- Improve listbox support in selectOptions
- Clicking on a label element of a checkbox does not trigger checkbox
- fix(pointer): compare `x` against `x` not `y` in `isDifferentPointerPosition()`
- fix(pointer): make sure to check all fields of `coords` in `isDifferentPointerPosition()`
- `userEvent.keyboard(']')` results in `{key: ']', code: 'Unknown'}`
- Add brackets (`[]{}`) to defaultKeyMap for keyboard()/type()
- Update PointerEvent to have default width / height set to 1
- `.upload()` missing setter in `HTMLInputElement.files` overwrite
- `userEvent.keyboard('{Enter}')` doesn't trigger form submission when the submit button is outside the form element, even if itβs associated with the form element by using the button's form attribute.
- fix: PointerEvent button and buttons set to incorrect values; fixes #1083
- Docs
- TypeScript not yet supported