test start your journey ctas render
This commit is contained in:
parent
4f997fdf45
commit
3aa8c51e5f
1 changed files with 23 additions and 0 deletions
|
|
@ -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')
|
||||||
|
})
|
||||||
|
})
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue