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 supported2 Subscribers
Add a CodeTriage badge to user-event
Help out
- Issues
- Incorrect types are causing errors when using TypeScript with `moduleResolution` set to `node16` or `nodenext`
- `userEvent.click` doesn't ignore hidden elements as the documentation says
- `clear()` throws error (`The element to be cleared could not be focused`) in shadow DOM
- selectOptions could use the aria-label to find the value too
- clipboardData DataTransferStub.getData should convert format string argument to ASCII lowercase
- File upload doesn't work on required file input
- `keyboard()` omits first key when focus changes programmatically
- type/keyboard modifier key not working as described in the docs
- `selectOptions` selects by `innerHTML` not `innerText`
- moduleResolution: "nodenext" on tsconfig cannot resolve userEvent
- Docs
- TypeScript not yet supported