From c70a034f42e4eb3345afa8207f2ea8c4811de5d6 Mon Sep 17 00:00:00 2001 From: Jack Marshall Date: Fri, 11 Oct 2024 16:13:27 +0100 Subject: [PATCH 1/3] Footer updates - do not release until 17th Oct 2024 --- .../cypress/e2e/footerLinks.cy.ts | 7 +++---- .../Pages/Shared/_Layout.cshtml | 20 +++++-------------- 2 files changed, 8 insertions(+), 19 deletions(-) diff --git a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.CypressTests/cypress/e2e/footerLinks.cy.ts b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.CypressTests/cypress/e2e/footerLinks.cy.ts index c18e281db..9d6617c4a 100644 --- a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.CypressTests/cypress/e2e/footerLinks.cy.ts +++ b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects.CypressTests/cypress/e2e/footerLinks.cy.ts @@ -10,13 +10,12 @@ describe("Navigate through footer links", () => { Logger.log("Get help footer links"); cy.get('h2').should('contain', 'Get help'); - cy.contains('a', 'Email Service Support for help with using this system').should('be.visible') - cy.contains('a', 'How to use this system (opens in a new tab)').should('be.visible') + cy.contains('a', 'Get help with a Regions Group system').should('be.visible') Logger.log("Get feedback footer links"); cy.get('h2').should('contain', 'Give feedback'); - cy.contains('a', 'Give feedback (opens in a new tab)').should('be.visible') - cy.contains('a', 'Suggest a change (opens in a new tab)').should('be.visible') + cy.contains('a', 'Give feedback about a Regions Group system (opens in a new tab)').should('be.visible') + cy.contains('a', 'Suggest a change to a Regions Group system (opens in a new tab)').should('be.visible') Logger.log("Get accessibility and cookies link"); cy.contains('a', 'Accessibility statement').should('be.visible').click() diff --git a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/Shared/_Layout.cshtml b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/Shared/_Layout.cshtml index d7e11708b..7ca770b08 100644 --- a/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/Shared/_Layout.cshtml +++ b/Dfe.ManageFreeSchoolProjects/Dfe.ManageFreeSchoolProjects/Pages/Shared/_Layout.cshtml @@ -10,8 +10,6 @@ var widePage = ViewData["WidePage"] != null ? "mfsp-wider-page" : string.Empty; - - var supportLink = $"mailto:{_configuration["SupportEmail"]}?subject=Manage%20free%20school%20projects:%20support%20query"; } @@ -104,30 +102,22 @@