(
input: HTMLElement,
text: string,
{user}: Required<UserEventOptions>
)
| 55 | * Type text in the input field |
| 56 | */ |
| 57 | const type = async ( |
| 58 | input: HTMLElement, |
| 59 | text: string, |
| 60 | {user}: Required<UserEventOptions> |
| 61 | ) => { |
| 62 | await user.type(input, text); |
| 63 | }; |
| 64 | |
| 65 | /** |
| 66 | * Press the "clear" button, and reset various states |