Cypress - Authentication and Sessions
What is wrong with this code?
cy.session('member', () => {
cy.visit('/login')
cy.get('#username').type('member')
cy.get('#password').type('pass')
cy.get('button[type=submit]').click()
})
cy.session('member')