test rich text heading

This commit is contained in:
Yisroel Baum 2026-05-27 21:53:49 +03:00
parent f979630bde
commit 90e1c6f196
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -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')