Skip to content

Commit

Permalink
GAP-2147|copy change for button and update test
Browse files Browse the repository at this point in the history
  • Loading branch information
ConorFayleAND committed Sep 20, 2023
1 parent 23fb88e commit 9b8cd05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/applicant/src/pages/index.page.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down
2 changes: 1 addition & 1 deletion packages/applicant/src/pages/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
<svg
className="govuk-button__start-icon"
xmlns="http://www.w3.org/2000/svg"
Expand Down

0 comments on commit 9b8cd05

Please sign in to comment.