From 9b8cd055a24c5e08cb8967bba50b0f592c2cceb6 Mon Sep 17 00:00:00 2001 From: conor Date: Wed, 20 Sep 2023 10:33:02 +0100 Subject: [PATCH] GAP-2147|copy change for button and update test --- packages/applicant/src/pages/index.page.test.tsx | 2 +- packages/applicant/src/pages/index.page.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/applicant/src/pages/index.page.test.tsx b/packages/applicant/src/pages/index.page.test.tsx index 6f7345a72..335ffa5c1 100644 --- a/packages/applicant/src/pages/index.page.test.tsx +++ b/packages/applicant/src/pages/index.page.test.tsx @@ -63,7 +63,7 @@ describe('Apply for a grant home page', () => { it('should render Sign in with One Login button with correct href', async () => { expect( screen.getByRole('button', { - name: /Sign in with One Login/i, + name: /Sign in with GOV.UK One Login/i, }) ).toHaveAttribute('href', loginUrl); }); diff --git a/packages/applicant/src/pages/index.page.tsx b/packages/applicant/src/pages/index.page.tsx index d567dbe56..c9591e231 100644 --- a/packages/applicant/src/pages/index.page.tsx +++ b/packages/applicant/src/pages/index.page.tsx @@ -60,7 +60,7 @@ function HomePage({ loginUrl, registerUrl, oneLoginEnabled }: HomePageProps) { data-module="govuk-button" data-cy="cy-apply-register-button" > - Sign in with One Login + Sign in with GOV.UK One Login