// Setup user events
const user = userEvent.setup()

// Clicking on an element. Using await is important
await user.click(screen.getTextBy('Some button'))

// Output HTML of screen
screen.debug()