diff --git a/cypress/integration/list/list-history.spec.js b/cypress/integration/list/list-history.spec.js index 57e80214..27a2a8c1 100644 --- a/cypress/integration/list/list-history.spec.js +++ b/cypress/integration/list/list-history.spec.js @@ -10,9 +10,8 @@ describe('List History', () => { cy.visit('/') cy.wait('@loadNamespaces') - cy.get('h3') - .contains('Last viewed') - .should('not.exist') + cy.get('body') + .should('not.contain', 'Last viewed') cy.visit(`/lists/${lists[0].id}`) cy.wait('@loadNamespaces')