From 8bfc110ed3955a9c5dbcb4a8b02c4390eb8ccd71 Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Fri, 24 Apr 2026 16:07:25 +0300 Subject: [PATCH] login as user in home create plan cypress spec --- cypress/e2e/homeCreatePlan.cy.js | 1 + 1 file changed, 1 insertion(+) 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')