test rich text heading
This commit is contained in:
parent
f979630bde
commit
90e1c6f196
1 changed files with 5 additions and 0 deletions
|
|
@ -107,6 +107,11 @@ describe('media page sets', () => {
|
|||
.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.contains(
|
||||
'[data-cy="element-rich-text"] h2',
|
||||
'What is Baderech HaAvoda?',
|
||||
)
|
||||
.should('have.css', 'text-align', 'center')
|
||||
cy.get('[data-cy="element-youtube-embed"]').should('not.exist')
|
||||
cy.contains('[data-cy="element-pdf-link"]', 'View PDF')
|
||||
.should('be.visible')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue