diff --git a/cypress/e2e/privacy-policy.cy.ts b/cypress/e2e/privacy-policy.cy.ts index 3284b974..2c7075d4 100644 --- a/cypress/e2e/privacy-policy.cy.ts +++ b/cypress/e2e/privacy-policy.cy.ts @@ -1,21 +1,21 @@ context('Statistics Dashboard', () => { - describe('privacy policy', () => { + describe('privacy statement', () => { beforeEach(() => { cy.visit('/'); }); - const selPrivacy = '[data-e2e="privacy-policy"]'; + const selPrivacy = '[data-e2e="privacy-statement"]'; - it('should show the privacy policy when the user goes there directly', () => { + it('should show the privacy statement when the user goes there directly', () => { cy.get(selPrivacy).should('not.exist'); - cy.visit('/privacy-policy'); + cy.visit('/privacy-statement'); cy.get(selPrivacy).should('have.length', 1); }); - it('should show the privacy policy when the user clicks the footer link', () => { + it('should show the privacy statement when the user clicks the footer link', () => { cy.get(selPrivacy).should('not.exist'); cy.get('a') - .contains('Privacy Policy') + .contains('Privacy Statement') .should('have.length', 1) .click({ force: true }); cy.get(selPrivacy).should('have.length', 1); diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index fc13c588..3856e2e4 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -20,10 +20,10 @@ const routes: Routes = [ .CookiePolicyComponent }, { - path: 'privacy-policy', + path: 'privacy-statement', loadComponent: async () => - (await import('./privacy-policy/privacy-policy.component')) - .PrivacyPolicyComponent + (await import('./privacy-statement/privacy-statement.component')) + .PrivacyStatementComponent }, { path: '', diff --git a/src/app/footer/footer.component.html b/src/app/footer/footer.component.html index a47c126f..31fb96e7 100644 --- a/src/app/footer/footer.component.html +++ b/src/app/footer/footer.component.html @@ -46,9 +46,9 @@