login as user in home cypress spec

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

View file

@ -1,6 +1,7 @@
describe('The home page', () => {
beforeEach(() => {
cy.exec('npm run db:seed')
cy.loginAsUser()
})
afterEach(() => {
cy.exec('npm run db:wipe')