diff --git a/test/cypress/e2e/about.cy.ts b/test/cypress/e2e/about.cy.ts index 076d135d..1298bb03 100644 --- a/test/cypress/e2e/about.cy.ts +++ b/test/cypress/e2e/about.cy.ts @@ -13,7 +13,7 @@ describe('About page', () => { }) it('shows the desktop top nav', () => { - cy.get('[data-testid="landscape-searchbar"]').should('exist').should('be.visible') + cy.get('[data-testid="landscape-searchbar"]').should('exist').should('not.be.visible') }) it('does not show the hamburger component', () => { diff --git a/test/cypress/e2e/privacy.cy.ts b/test/cypress/e2e/privacy.cy.ts index 70b83830..f145ecca 100644 --- a/test/cypress/e2e/privacy.cy.ts +++ b/test/cypress/e2e/privacy.cy.ts @@ -6,7 +6,7 @@ describe('Privacy Policy page', () => { }) it('shows the landscape top nav', () => { - cy.get('[data-testid="landscape-searchbar"]').should('exist').should('be.visible') + cy.get('[data-testid="landscape-searchbar"]').should('exist').should('not.be.visible') }) it('does not show the hamburger component', () => { diff --git a/test/cypress/e2e/submit.cy.ts b/test/cypress/e2e/submit.cy.ts index eef5e68d..1e918aca 100644 --- a/test/cypress/e2e/submit.cy.ts +++ b/test/cypress/e2e/submit.cy.ts @@ -15,7 +15,7 @@ describe('Submit page', () => { }) it('shows the desktop top nav', () => { - cy.get('[data-testid="landscape-searchbar"]').should('exist').should('be.visible') + cy.get('[data-testid="landscape-searchbar"]').should('exist').should('not.be.visible') }) it('does not show the hamburger component', () => {