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') + }) + }) + }) +})