login as admin in admin text bulk add cypress spec
This commit is contained in:
parent
e8fcac654b
commit
4c393e813a
1 changed files with 1 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
describe('Bulk add children on the admin text detail page', () => {
|
describe('Bulk add children on the admin text detail page', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
cy.exec('npm run db:seed')
|
cy.exec('npm run db:seed')
|
||||||
|
cy.loginAsAdmin()
|
||||||
cy.intercept('GET', '/api/texts/0').as('getText')
|
cy.intercept('GET', '/api/texts/0').as('getText')
|
||||||
cy.intercept('GET', '/api/nodes/0').as('getNodes')
|
cy.intercept('GET', '/api/nodes/0').as('getNodes')
|
||||||
cy.visit('/admin/texts/0')
|
cy.visit('/admin/texts/0')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue