Fix flaky test part 2

This commit is contained in:
kolaente 2021-01-22 00:11:55 +01:00
parent d172d99b49
commit eaec8c77d2
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -361,9 +361,8 @@ describe('Lists', () => {
}) })
cy.visit('/lists/1/kanban') cy.visit('/lists/1/kanban')
cy.get('.kanban .bucket .tasks .task') cy.get('.kanban .bucket .tasks')
.contains(tasks[0].title) .should('contain', tasks[0].title)
.should('exist')
cy.get('.kanban .bucket .tasks .task') cy.get('.kanban .bucket .tasks .task')
.contains(tasks[0].title) .contains(tasks[0].title)