From b49fc159e2aaa655282ee2bb364b6b2ea4b29b8b Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Tue, 26 May 2026 20:56:42 +0300 Subject: [PATCH] fix home cypress header --- frontend/rabbi_gerzi/cypress/e2e/home.cy.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts b/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts index 0c4dae4..3a29014 100644 --- a/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts +++ b/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts @@ -4,7 +4,7 @@ describe('homepage hero', () => { }) it('renders the header navigation', () => { - cy.get('header').within(() => { + cy.get('header.site-header').within(() => { cy.contains('Torah Media').should('be.visible') cy.contains('About').should('be.visible') cy.contains('Contact').should('be.visible') @@ -13,10 +13,10 @@ describe('homepage hero', () => { }) it('opens the Torah Media page from the header navigation', () => { - cy.contains('header a', 'Torah Media').click() + cy.contains('header.site-header a', 'Torah Media').click() cy.location('pathname').should('eq', '/media') - cy.get('header').within(() => { + cy.get('header.site-header').within(() => { cy.contains('Torah Media').should('be.visible') cy.contains('About').should('be.visible') cy.contains('Contact').should('be.visible')