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
- "act" is necessary with Fake Timers even though (IIUC) shouldn't be
- Correct coord property "x" to "y" in isDifferentPointerPosition
- Should not be able to type on inert items
- act warning with vitest when forcing `module resolution` with vitejs
- 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.
- Docs
- TypeScript not yet supported