login as admin in admin text bulk add cypress spec

This commit is contained in:
Yisroel Baum 2026-04-24 16:08:14 +03:00
parent e8fcac654b
commit 4c393e813a
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -1,6 +1,7 @@
describe('Bulk add children on the admin text detail page', () => {
beforeEach(() => {
cy.exec('npm run db:seed')
cy.loginAsAdmin()
cy.intercept('GET', '/api/texts/0').as('getText')
cy.intercept('GET', '/api/nodes/0').as('getNodes')
cy.visit('/admin/texts/0')