user.type
Clicks a text input and types text into it, character by character.
await user.type(input: NodeTarget, text: string): Promise<void>;Clicks the text input, which focuses it, then types text one character
at a time, each a key down and up that the input edits
itself with, as it does for a user.
const name = screen.getByRole('textinput', { name: 'Preset name' });
await user.clear(name);
await user.type(name, 'Warm');
await user.keyboard('{Enter}');