diff --git a/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts b/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts index 9a53cbc..f21c3ce 100644 --- a/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts +++ b/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts @@ -30,3 +30,22 @@ describe('homepage hero', () => { .and('match', /Rabbi Yehoshua Gerzi/i) }) }) + +describe('homepage discover path section', () => { + beforeEach(() => { + cy.visit('/') + }) + + it('renders the heading and body copy', () => { + cy.get('[data-cy="discover-path"]').within(() => { + cy.contains('h2', 'Discover a Path to a Holistically Engaged Life') + .should('be.visible') + cy.contains('Rabbi Yehoshua Gerzi has dedicated his life') + .should('be.visible') + cy.contains('Healthy, Integrated and Balanced Torah Living') + .should('be.visible') + cy.contains('Ramat Beit Shemesh').should('be.visible') + cy.contains('Pilzno Institute of Higher Learning').should('be.visible') + }) + }) +})