test unique voice section renders
This commit is contained in:
parent
57fe1ac49e
commit
243aed4f12
1 changed files with 18 additions and 0 deletions
|
|
@ -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')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue