describe('The Login CSRF Token', () => { it('403 status without token', () => { cy.loginByCsrf('some-token') .its('status') .should('eq', 403) }); it('gets token from response body', () => { cy.login('test', 'test') }) });