Assuming MyComponent contains a button, the following code clicks the button. test('triggers a click', async () => ...
確定! 回上一頁