From 2be6840d10b8e726fbb0dda32955ff2c24d86bc0 Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Sat, 16 May 2026 21:52:18 +0300 Subject: [PATCH] test core teachings grid renders --- frontend/rabbi_gerzi/cypress/e2e/home.cy.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts b/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts index f21c3ce..b58c7e8 100644 --- a/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts +++ b/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts @@ -49,3 +49,22 @@ describe('homepage discover path section', () => { }) }) }) + +describe('homepage core teachings grid', () => { + beforeEach(() => { + cy.visit('/') + }) + + it('renders the heading and six teaching tiles', () => { + cy.get('[data-cy="core-teachings"]').within(() => { + cy.contains('h2', 'Baderech HaAvodah').should('be.visible') + cy.contains('Core Teachings').should('be.visible') + cy.contains('1) Introduction').should('be.visible') + cy.contains('2) Foundations').should('be.visible') + cy.contains('3) Divine Plan').should('be.visible') + cy.contains('4) Architecture of the Soul').should('be.visible') + cy.contains('5) Arba Yesodot').should('be.visible') + cy.contains('6) Fluid Integration').should('be.visible') + }) + }) +})