test unique voice section renders

This commit is contained in:
Yisroel Baum 2026-05-16 21:54:03 +03:00
parent 57fe1ac49e
commit 243aed4f12
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -68,3 +68,21 @@ describe('homepage core teachings grid', () => {
})
})
})
describe('homepage unique voice section', () => {
beforeEach(() => {
cy.visit('/')
})
it('renders heading body and cta button', () => {
cy.get('[data-cy="unique-voice"]').within(() => {
cy.contains('h2', 'A Unique Voice for the Generation')
.should('be.visible')
cy.contains('wholly unique and much needed perspective')
.should('be.visible')
cy.contains('practically engaged positivity').should('be.visible')
cy.contains('button', "Learn about Rabbi Gerzi's Approach")
.should('be.visible')
})
})
})