login as user in home create plan cypress spec

This commit is contained in:
Yisroel Baum 2026-04-24 16:07:25 +03:00
parent cddc72e6cf
commit 8bfc110ed3
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -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')