Cypress - Authentication and Sessions
Consider this code snippet:
What is the expected behavior?
cy.session('user', () => {
cy.request('POST', '/login', { username: 'user', password: 'pass' })
})
cy.session('user')What is the expected behavior?
