diff --git a/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts b/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts index e95938a..9af2c43 100644 --- a/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts +++ b/frontend/rabbi_gerzi/cypress/e2e/home.cy.ts @@ -12,16 +12,6 @@ describe('homepage hero', () => { }) }) - it('links the navbar Donate item to Causematch', () => { - const donateHref = 'https://causematch.com/pilzno_donate' - - cy.contains('header.site-header a', 'Donate') - .should('be.visible') - .and('have.attr', 'href', donateHref) - .and('have.attr', 'target', '_blank') - .and('have.attr', 'rel', 'noopener') - }) - it('opens the Torah Media page from the header navigation', () => { cy.contains('header.site-header a', 'Torah Media').click() @@ -582,65 +572,4 @@ describe('homepage get involved and footer', () => { cy.contains(/Rabbi Gerzi 2025/).should('be.visible') }) }) - - it('links the footer Donate item to Causematch', () => { - const donateHref = 'https://causematch.com/pilzno_donate' - - cy.contains('[data-cy="footer"] a', 'Donate') - .should('be.visible') - .and('have.attr', 'href', donateHref) - .and('have.attr', 'target', '_blank') - .and('have.attr', 'rel', 'noopener') - }) - - it('links footer social icons to the contact social pages', () => { - const expectedSocialLinks = [ - { - label: 'YouTube', - href: 'https://www.youtube.com/@rabbigerzi', - }, - { - label: 'Spotify', - href: - 'https://open.spotify.com/show/' + - '49H1X9A7KZWAnnIbcoQXQR?si=6253691f23be44ad', - }, - ] - - cy.get('[data-cy="footer"]').within(() => { - expectedSocialLinks.forEach((expectedSocialLink) => { - cy.get(`a[aria-label="${expectedSocialLink.label}"]`) - .should('be.visible') - .and('have.attr', 'href', expectedSocialLink.href) - .and('have.attr', 'target', '_blank') - .and('have.attr', 'rel', 'noopener') - }) - }) - }) - - it('navigates footer links without reloading the app', () => { - const footerNavigationMarker = 'client-navigation' - - cy.window().then((applicationWindow) => { - const markedWindow = applicationWindow as Window & { - footerNavigationMarker?: string - } - - markedWindow.footerNavigationMarker = footerNavigationMarker - }) - - cy.contains('[data-cy="footer"] a', 'About').click() - - cy.location('pathname').should('eq', '/about') - cy.window().then((applicationWindow) => { - const markedWindow = applicationWindow as Window & { - footerNavigationMarker?: string - } - - expect(markedWindow.footerNavigationMarker).to.equal( - footerNavigationMarker, - ) - }) - cy.contains('h1', 'About Rabbi Gerzi').should('be.visible') - }) }) diff --git a/frontend/rabbi_gerzi/src/components/SiteFooter.vue b/frontend/rabbi_gerzi/src/components/SiteFooter.vue deleted file mode 100644 index f2ea224..0000000 --- a/frontend/rabbi_gerzi/src/components/SiteFooter.vue +++ /dev/null @@ -1,180 +0,0 @@ - - - - - diff --git a/frontend/rabbi_gerzi/src/components/SiteHeader.vue b/frontend/rabbi_gerzi/src/components/SiteHeader.vue index 34095b1..0ecdc90 100644 --- a/frontend/rabbi_gerzi/src/components/SiteHeader.vue +++ b/frontend/rabbi_gerzi/src/components/SiteHeader.vue @@ -1,7 +1,6 @@