test start your journey ctas render

This commit is contained in:
Yisroel Baum 2026-05-16 22:02:45 +03:00
parent 4f997fdf45
commit 3aa8c51e5f
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

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