test core teachings grid renders

This commit is contained in:
Yisroel Baum 2026-05-16 21:52:18 +03:00
parent 7ac05c90ea
commit 2be6840d10
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

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