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