login as admin in admin text toggle cypress spec
This commit is contained in:
parent
3ee6057978
commit
e8fcac654b
1 changed files with 1 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
describe('Toggle display of child nodes', () => {
|
||||
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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue