From 05350affad3ba0165a6e6518d5c6fd62bedc776f Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 30 Jan 2022 14:37:41 +0100 Subject: [PATCH] fix(tests): don't assert for h3 anymore --- cypress/integration/list/list-history.spec.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cypress/integration/list/list-history.spec.js b/cypress/integration/list/list-history.spec.js index 3a488e64..36b74ad4 100644 --- a/cypress/integration/list/list-history.spec.js +++ b/cypress/integration/list/list-history.spec.js @@ -36,9 +36,8 @@ describe('List History', () => { cy.visit('/') cy.wait('@loadNamespaces') - cy.get('h3') - .contains('Last viewed') - .should('exist') + cy.get('body') + .should('contain', 'Last viewed') cy.get('.list-cards-wrapper-2-rows') .should('not.contain', lists[0].title) .should('contain', lists[1].title)