1
0

feat(cypress): use cy.session

Also align repo closer to `create-vue` template and improve cypress integration
This commit is contained in:
Dominik Pschenitschni
2022-12-15 22:35:17 +01:00
parent 6ddfba4f1f
commit 4908469d49
44 changed files with 316 additions and 190 deletions

View File

@ -1,14 +1,16 @@
import {createFakeUserAndLogin} from '../../support/authenticateUser'
import {TaskFactory} from '../../factories/task'
import {ListFactory} from '../../factories/list'
import {NamespaceFactory} from '../../factories/namespace'
import {UserListFactory} from '../../factories/users_list'
import '../../support/authenticateUser'
describe('Editor', () => {
createFakeUserAndLogin()
beforeEach(() => {
NamespaceFactory.create(1)
const lists = ListFactory.create(1)
ListFactory.create(1)
TaskFactory.truncate()
UserListFactory.truncate()
})