From 3aa8c51e5fc0d63c9dd98749cc5456f36680f605 Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Sat, 16 May 2026 22:02:45 +0300 Subject: [PATCH] test start your journey ctas render --- frontend/rabbi_gerzi/cypress/e2e/home.cy.ts | 23 +++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts b/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts index 0dbd3cb..46165d5 100644 --- a/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts +++ b/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts @@ -169,3 +169,26 @@ describe('homepage projects grid', () => { }) }) }) + +describe('homepage start your journey ctas', () => { + beforeEach(() => { + cy.visit('/') + }) + + it('renders both journey CTAs with their headings and bodies', () => { + cy.get('[data-cy="journey"]').within(() => { + cy.contains('h2', 'Start Your Journey').should('be.visible') + cy.get('[data-cy="journey-media"]').within(() => { + cy.contains('Access').should('be.visible') + cy.contains('Torah Media').should('be.visible') + cy.contains('wealth of video, audio and written content') + .should('be.visible') + }) + cy.get('[data-cy="journey-baderech"]').within(() => { + cy.contains('Explore').should('be.visible') + cy.contains('Baderech HaAvodah').should('be.visible') + cy.contains('transformative principles').should('be.visible') + }) + }) + }) +})