fix(tests): make sure to create all lists before doing anything
continuous-integration/drone/pr Build was killed Details

This commit is contained in:
kolaente 2022-01-30 22:47:59 +01:00
parent 4fc9384acc
commit b7c8138ad5
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 0 deletions

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')