diff --git a/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts b/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts index 46165d5..85c5015 100644 --- a/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts +++ b/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts @@ -192,3 +192,31 @@ describe('homepage start your journey ctas', () => { }) }) }) + +describe('homepage get involved and footer', () => { + beforeEach(() => { + 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('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') + cy.contains('Donate').should('be.visible') + cy.contains('Contact').should('be.visible') + cy.contains(/Rabbi Gerzi 2025/).should('be.visible') + }) + }) +})