diff --git a/cypress/e2e/outline.spec.js b/cypress/e2e/outline.spec.js index 0d97da7b608..c920bde06d5 100644 --- a/cypress/e2e/outline.spec.js +++ b/cypress/e2e/outline.spec.js @@ -68,7 +68,7 @@ describe('Table of Contents', () => { .then(clickOutline) cy.getOutline() - .find('header') - .should('not.exist') + .find('ul') + .should('be.empty') }) })