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
- `userEvent.click()` behavior is inconsistent with browser when `onPointerDown` prevents default
- feat: add option to set element class on hover
- Set class on pseudo-states
- Remove label-click-implies-input-click as this behavior is handled by DOM libs
- user.click (or user.pointer) does not trigger a 'click' event if 'pointerdown' event handling calls event.preventDefault()
- Selection not cleared when input is focused
- Can't test "file" type inputs.
- Is this library unmaintained / dead?
- React Select dropdown is being closed after userEvent
- `type` does not work with `contenteditable="plaintext-only"`
- Docs
- TypeScript not yet supported