Fix gantt tests
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2021-07-25 14:52:21 +02:00
parent 2dd7152974
commit b3c805662c
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 2 deletions

View File

@ -253,11 +253,11 @@ describe('Lists', () => {
describe('Gantt View', () => {
it('Hides tasks with no dates', () => {
TaskFactory.create(1)
const tasks = TaskFactory.create(1)
cy.visit('/lists/1/gantt')
cy.get('.gantt-chart-container .gantt-chart .tasks')
.should('be.empty')
.should('not.contain', tasks[0].title)
})
it('Shows tasks from the current and next month', () => {