Cypress - Authentication and Sessions
Analyze this Cypress code:
What impact does this have on the test suite's execution speed?
beforeEach(() => {
cy.session('userSession', () => {
cy.visit('/login')
cy.get('#username').type('user')
cy.get('#password').type('pass')
cy.get('button[type=submit]').click()
})
})What impact does this have on the test suite's execution speed?
