Variable: userEvent
constuserEvent:object
Defined in: user-event.ts:81
Simulates user interactions with GTK widgets. Provides methods that mimic real user behavior like clicking, typing, and clearing input fields. Use userEvent.setup() to create an instance with custom options.
Type Declaration
| Name | Type | Defined in |
|---|---|---|
clear() | (element) => Promise<void> | user-event.ts:106 |
click() | (element) => Promise<void> | user-event.ts:84 |
dblClick() | (element) => Promise<void> | user-event.ts:89 |
setup() | (options?) => UserEventInstance | user-event.ts:82 |
type() | (element, text) => Promise<void> | user-event.ts:96 |