fix(tests): make sure to create all lists before doing anything
This commit is contained in:
parent
4fc9384acc
commit
b7c8138ad5
1 changed files with 3 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue