We’re going to need a newly created user for several tests so let’s move our cy.request command to register a new user into a custom Cypress command so we can use that wherever we need a new user.
There's been a small breaking change to Cypress Testing Library that affects the code in this video. Learn more here.