fix(tests): assert absence of last viewed headline more precisely

This commit is contained in:
kolaente 2022-01-30 14:03:50 +01:00
parent 3212bc8e86
commit 6c1857b133
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -10,9 +10,8 @@ describe('List History', () => {
cy.visit('/') cy.visit('/')
cy.wait('@loadNamespaces') cy.wait('@loadNamespaces')
cy.get('h3') cy.get('body')
.contains('Last viewed') .should('not.contain', 'Last viewed')
.should('not.exist')
cy.visit(`/lists/${lists[0].id}`) cy.visit(`/lists/${lists[0].id}`)
cy.wait('@loadNamespaces') cy.wait('@loadNamespaces')