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', () => {
|
describe('The home page', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
cy.exec('npm run db:seed')
|
cy.exec('npm run db:seed')
|
||||||
|
cy.loginAsUser()
|
||||||
})
|
})
|
||||||
afterEach(() => {
|
afterEach(() => {
|
||||||
cy.exec('npm run db:wipe')
|
cy.exec('npm run db:wipe')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue