test discover path section renders
This commit is contained in:
parent
4d8e0902ba
commit
8c74eb707e
1 changed files with 19 additions and 0 deletions
|
|
@ -30,3 +30,22 @@ describe('homepage hero', () => {
|
|||
.and('match', /Rabbi Yehoshua Gerzi/i)
|
||||
})
|
||||
})
|
||||
|
||||
describe('homepage discover path section', () => {
|
||||
beforeEach(() => {
|
||||
cy.visit('/')
|
||||
})
|
||||
|
||||
it('renders the heading and body copy', () => {
|
||||
cy.get('[data-cy="discover-path"]').within(() => {
|
||||
cy.contains('h2', 'Discover a Path to a Holistically Engaged Life')
|
||||
.should('be.visible')
|
||||
cy.contains('Rabbi Yehoshua Gerzi has dedicated his life')
|
||||
.should('be.visible')
|
||||
cy.contains('Healthy, Integrated and Balanced Torah Living')
|
||||
.should('be.visible')
|
||||
cy.contains('Ramat Beit Shemesh').should('be.visible')
|
||||
cy.contains('Pilzno Institute of Higher Learning').should('be.visible')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue