diff --git a/cypress/e2e/admin.cy.js b/cypress/e2e/admin.cy.js index 2c8054c..3bd205f 100644 --- a/cypress/e2e/admin.cy.js +++ b/cypress/e2e/admin.cy.js @@ -1,6 +1,7 @@ describe('The admin page', () => { beforeEach(() => { cy.exec('npm run db:seed') + cy.loginAsAdmin() cy.visit('/admin') }) afterEach(() => {