diff --git a/frontend/rabbi_gerzi/cypress/e2e/media.cy.ts b/frontend/rabbi_gerzi/cypress/e2e/media.cy.ts index 573a1e7..e303253 100644 --- a/frontend/rabbi_gerzi/cypress/e2e/media.cy.ts +++ b/frontend/rabbi_gerzi/cypress/e2e/media.cy.ts @@ -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')