login as user in home cypress spec
This commit is contained in:
parent
49c5ed49b0
commit
cddc72e6cf
1 changed files with 1 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
describe('The home page', () => {
|
||||
beforeEach(() => {
|
||||
cy.exec('npm run db:seed')
|
||||
cy.loginAsUser()
|
||||
})
|
||||
afterEach(() => {
|
||||
cy.exec('npm run db:wipe')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue