From eaec8c77d27bd260efc10c1c7a095b6b73881f08 Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 22 Jan 2021 00:11:55 +0100 Subject: [PATCH] Fix flaky test part 2 --- cypress/integration/list/list.spec.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cypress/integration/list/list.spec.js b/cypress/integration/list/list.spec.js index bcc389ce..011b489e 100644 --- a/cypress/integration/list/list.spec.js +++ b/cypress/integration/list/list.spec.js @@ -361,9 +361,8 @@ describe('Lists', () => { }) cy.visit('/lists/1/kanban') - cy.get('.kanban .bucket .tasks .task') - .contains(tasks[0].title) - .should('exist') + cy.get('.kanban .bucket .tasks') + .should('contain', tasks[0].title) cy.get('.kanban .bucket .tasks .task') .contains(tasks[0].title)