feat(cypress): use cy.session
Also align repo closer to `create-vue` template and improve cypress integration
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import '../../support/authenticateUser'
|
||||
import {createFakeUserAndLogin} from '../../support/authenticateUser'
|
||||
import {createLists} from '../list/prepareLists'
|
||||
|
||||
function logout() {
|
||||
@ -10,6 +10,8 @@ function logout() {
|
||||
}
|
||||
|
||||
describe('Log out', () => {
|
||||
createFakeUserAndLogin()
|
||||
|
||||
it('Logs the user out', () => {
|
||||
cy.visit('/')
|
||||
|
||||
|
Reference in New Issue
Block a user