function clickOutputAsync()
Waits for matching output to be rendered, and simulates a user click event.
function clickOutputAsync(
select: OutputSelectFilter & {
timeout?: number;
},
...nested: OutputSelectFilter[]
): Promise<TestOutputElement>;
Notes
- This function awaits the result of expectOutputAsync(), finds a single element, and sends a click event using TestOutputElement.click().
Return value
The test output element itself
Errors
This function throws an error if the output is not found after the provided timeout (or default value of 200ms) or if multiple elements match the selection criteria.
