Skip to content

Commit

Permalink
[PRMP-1322] Update content of Cancel link on LG Download stage (#509)
Browse files Browse the repository at this point in the history
Change content from "Cancel" to "Cancel and return to patient record"
  • Loading branch information
steph-torres-nhs authored Jan 16, 2025
1 parent aaec935 commit c9304b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ describe('LloydGeorgeDownloadStage', () => {

const expectedTestId = 'download-file-header-' + mockPdf.numberOfFiles + '-files';
expect(screen.getByTestId(expectedTestId)).toBeInTheDocument();
expect(screen.getByTestId('cancel-download-link')).toHaveTextContent(
'Cancel and return to patient record',
);
});

it('renders a progress bar', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ function LloydGeorgeDownloadStage({
navigate(routes.LLOYD_GEORGE);
}}
>
Cancel
Cancel and return to patient record
</Link>
</div>
</div>
Expand Down

0 comments on commit c9304b0

Please sign in to comment.