It’s pretty likely that we’ll need to login as a particular user for many tests, let’s take our cy.request command and turn it into a custom command to make it easier for the places we’ll be needing a logged in user.
There's been a small breaking change to Cypress Testing Library that affects the code in this video. Learn more here.