test introduction rich text
This commit is contained in:
parent
c794fda074
commit
e9fa31138b
2 changed files with 75 additions and 1 deletions
|
|
@ -92,7 +92,21 @@ describe('media page sets', () => {
|
|||
cy.location('pathname').should('eq', '/element/2')
|
||||
cy.contains('h1', '1. Introduction').should('be.visible')
|
||||
cy.get('[data-cy="element-icon"]').should('not.exist')
|
||||
cy.get('[data-cy="element-rich-text"]').should('not.exist')
|
||||
cy.get('[data-cy="element-rich-text"]')
|
||||
.should('contain.text', 'What is Baderech HaAvoda?')
|
||||
.and(
|
||||
'contain.text',
|
||||
'Why We Need a Path of Spiritual Practice',
|
||||
)
|
||||
.and(
|
||||
'contain.text',
|
||||
"A 'Baderech HaAvoda' is a way of living",
|
||||
)
|
||||
.and('contain.text', 'Direction')
|
||||
.and('contain.text', 'How do I grow?')
|
||||
.and('contain.text', 'The Challenge of Our Generation')
|
||||
.and('contain.text', 'So many are Hashkafikly homeless')
|
||||
.and('contain.text', 'the life we were created for.')
|
||||
cy.get('[data-cy="element-youtube-embed"]').should('not.exist')
|
||||
cy.get('[data-cy="element-pdf-link"]').should('not.exist')
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue