Skip to content

Commit

Permalink
test: update test for search bar visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
karlk08 committed Dec 10, 2024
1 parent e1434e4 commit 2fe1353
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/cypress/e2e/about.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/cypress/e2e/privacy.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/cypress/e2e/submit.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit 2fe1353

Please sign in to comment.