Cypress - Authentication and Sessions
What will happen when the following code runs?
cy.session('admin', () => {
cy.visit('/login')
cy.get('#username').type('admin')
cy.get('#password').type('password')
cy.get('button[type=submit]').click()
})
cy.session('admin')