fix(tests): make sure to create all lists before doing anything

This commit is contained in:
kolaente 2022-01-30 22:47:59 +01:00
parent 4fc9384acc
commit b7c8138ad5
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -1,9 +1,12 @@
import {formatISO, format} from 'date-fns'
import {TaskFactory} from '../../factories/task'
import {prepareLists} from './prepareLists'
import '../../support/authenticateUser'
describe('List View Gantt', () => {
prepareLists()
it('Hides tasks with no dates', () => {
const tasks = TaskFactory.create(1)
cy.visit('/lists/1/gantt')