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
- Clicking on a label element of a checkbox does not trigger checkbox
- `.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.
- Should not be able to type on inert items
- feat: add option to set element class on hover
- Set class on pseudo-states
- Selection not cleared when input is focused
- Can't test "file" type inputs.
- `type` does not work with `contenteditable="plaintext-only"`
- More convenient syntax for key combinations
- Docs
- TypeScript not yet supported