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
- Disabled checkbox inside a label still triggers onChange method when clicked
- Optimize typing a single character
- Clipboard stub state is not reset in Vitest (or any runner without globals)
- Improve listbox support in selectOptions
- 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
- Docs
- TypeScript not yet supported