diff --git a/frontend/rabbi_gerzi/cypress/e2e/about.cy.ts b/frontend/rabbi_gerzi/cypress/e2e/about.cy.ts index be249f8..26556bb 100644 --- a/frontend/rabbi_gerzi/cypress/e2e/about.cy.ts +++ b/frontend/rabbi_gerzi/cypress/e2e/about.cy.ts @@ -108,16 +108,13 @@ describe('about page', () => { cy.get('[data-cy="haskamah-image"]').first().should('be.visible') }) - it('renders the get involved form and footer', () => { - cy.get('[data-cy="get-involved"]').within(() => { - cy.contains('h2', 'Get Involved').should('be.visible') - cy.contains('Subscribe for updates as we release new content') - .should('be.visible') - cy.get('input[name="fullName"]').should('be.visible') - cy.get('input[name="email"]').should('be.visible') - cy.contains('button', 'Submit').should('be.visible') - }) + it('does not render the get involved subscription section', () => { + cy.get('[data-cy="get-involved"]').should('not.exist') + cy.contains('Subscribe for updates as we release new content') + .should('not.exist') + }) + it('renders the footer with links and copyright', () => { cy.get('[data-cy="footer"]').within(() => { cy.contains('Torah Media').should('be.visible') cy.contains('About').should('be.visible') diff --git a/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts b/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts index e95938a..b1b4a70 100644 --- a/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts +++ b/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts @@ -561,16 +561,10 @@ describe('homepage get involved and footer', () => { cy.visit('/') }) - it('renders the newsletter signup form', () => { - cy.get('[data-cy="get-involved"]').within(() => { - cy.contains('h2', 'Get Involved').should('be.visible') - cy.contains( - 'Subscribe for updates as we release new content', - ).should('be.visible') - cy.get('input[name="fullName"]').should('be.visible') - cy.get('input[name="email"]').should('be.visible') - cy.contains('button', 'Submit').should('be.visible') - }) + it('does not render the newsletter signup section', () => { + cy.get('[data-cy="get-involved"]').should('not.exist') + cy.contains('Subscribe for updates as we release new content') + .should('not.exist') }) it('renders the footer with links and copyright', () => {