{ const canvas = within(canvasElement); const webcamButton = await canvas.findByLabelText("Capture from camera"); userEvent.click(webcamButton); userEvent.click(await canvas.findByTitle("grant webcam access")); userEvent.click(await canvas.findByLabelText("Upload file")); userEvent.click(await canvas.findByLabelText("Paste from clipboard")); }} />