diff --git a/cypress/e2e/homeCreatePlan.cy.js b/cypress/e2e/homeCreatePlan.cy.js index 3c9ee87..dbffa44 100644 --- a/cypress/e2e/homeCreatePlan.cy.js +++ b/cypress/e2e/homeCreatePlan.cy.js @@ -1,6 +1,7 @@ describe('Create plan modal on the home page', () => { beforeEach(() => { cy.exec('npm run db:seed') + cy.loginAsUser() cy.intercept('GET', '/api/texts').as('getTexts') cy.visit('/home') cy.wait('@getTexts')