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
- userEvent.type does not work when setState uses previous value in assignment
- Add the interface to `userEvent.upload()` to simulate cancelling file select
- Keyboard: Press and hold for X events does not set the 'repeated' attribute
- Support keyboard composition sessions
- New option: `autoFocusDocumentBeforeTyping` to reduce real browser testing flakiness
- test: identify browser/jsdom differences
- Cannot test datalist elements with user-event
- `userEvent.type` and `userEvent.paste` set incorrect time to `<input type="time">`
- userEvent.pointer sets incorrect `button` and `buttons` values
- Running tests failed with "Error: No active group"
- Docs
- TypeScript not yet supported