test core teachings grid renders
This commit is contained in:
parent
7ac05c90ea
commit
2be6840d10
1 changed files with 19 additions and 0 deletions
|
|
@ -49,3 +49,22 @@ describe('homepage discover path section', () => {
|
|||
})
|
||||
})
|
||||
})
|
||||
|
||||
describe('homepage core teachings grid', () => {
|
||||
beforeEach(() => {
|
||||
cy.visit('/')
|
||||
})
|
||||
|
||||
it('renders the heading and six teaching tiles', () => {
|
||||
cy.get('[data-cy="core-teachings"]').within(() => {
|
||||
cy.contains('h2', 'Baderech HaAvodah').should('be.visible')
|
||||
cy.contains('Core Teachings').should('be.visible')
|
||||
cy.contains('1) Introduction').should('be.visible')
|
||||
cy.contains('2) Foundations').should('be.visible')
|
||||
cy.contains('3) Divine Plan').should('be.visible')
|
||||
cy.contains('4) Architecture of the Soul').should('be.visible')
|
||||
cy.contains('5) Arba Yesodot').should('be.visible')
|
||||
cy.contains('6) Fluid Integration').should('be.visible')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue