diff --git a/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.test.tsx b/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.test.tsx index 92712f6d7..382a1e399 100644 --- a/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.test.tsx +++ b/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.test.tsx @@ -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', () => { diff --git a/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.tsx b/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.tsx index 5e8da201e..910acb237 100644 --- a/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.tsx +++ b/app/src/components/blocks/_lloydGeorge/lloydGeorgeDownloadStage/LloydGeorgeDownloadStage.tsx @@ -193,7 +193,7 @@ function LloydGeorgeDownloadStage({ navigate(routes.LLOYD_GEORGE); }} > - Cancel + Cancel and return to patient record