From 198633c51d0da7ded4aec81fecf84e7a8c5ddf1f Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 18 Jan 2021 22:17:17 +0100 Subject: [PATCH] Fix test --- cypress/integration/list/list.spec.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cypress/integration/list/list.spec.js b/cypress/integration/list/list.spec.js index 4231a0a2..99cf178d 100644 --- a/cypress/integration/list/list.spec.js +++ b/cypress/integration/list/list.spec.js @@ -61,8 +61,9 @@ describe('Lists', () => { cy.get('.list-title a.icon') .should('have.attr', 'href') .and('include', '/lists/1/edit') - cy.get('.list-is-empty-notice') - .should('contain', 'This list is currently empty.') + cy.get('p') + .contains('This list is currently empty.') + .should('exist') }) it('Should navigate to the task when the title is clicked', () => {