-
Notifications
You must be signed in to change notification settings - Fork 254
Closed
Description
@testing-library/user-eventversion: 12.6.0
- Testing Framework and version:
Jest 26.6.3 - DOM Environment: 16.4.0 (from jest)
Relevant code or config
userEvent.type(getByRole('listbox'), '{home}')
userEvent.type(getByRole('listbox'), '{end}')What you did:
userEvent.type(getByRole('listbox'), '{home}')
userEvent.type(getByRole('listbox'), '{end}')What happened:
The input to the keyDown event was { then h then o then m then e then } and similar for {end}
Reproduction repository:
Problem description:
type doesn't support Home and End keys
Suggested solution:
Applied in fix #536
AlexOkafor
Metadata
Metadata
Assignees
Labels
No labels