{ const canvas = within(canvasElement); const trimButton = canvas.getByLabelText("Trim video to selection"); userEvent.click(trimButton); }} />