diff --git a/packages/admin/src/pages/build-application/[applicationId]/[sectionId]/question-type.page.tsx b/packages/admin/src/pages/build-application/[applicationId]/[sectionId]/question-type.page.tsx index e70aa1572..8406da866 100644 --- a/packages/admin/src/pages/build-application/[applicationId]/[sectionId]/question-type.page.tsx +++ b/packages/admin/src/pages/build-application/[applicationId]/[sectionId]/question-type.page.tsx @@ -257,7 +257,7 @@ const QuestionType = ({ value: ResponseType.SingleFileUpload, hint: ( { render(component); screen.getByRole('radio', { name: 'Document upload' }); screen.getByText( - 'Allows all documents except .xls and .exe to be uploaded.' + 'Allows files that are .DOC, .DOCX, .ODT, .PDF, .XLS, .XLSX or .ZIP' ); }); diff --git a/packages/gap-web-ui/src/components/question-page/inputs/DocumentUpload.test.tsx b/packages/gap-web-ui/src/components/question-page/inputs/DocumentUpload.test.tsx index 99610c9df..5cc623fa3 100644 --- a/packages/gap-web-ui/src/components/question-page/inputs/DocumentUpload.test.tsx +++ b/packages/gap-web-ui/src/components/question-page/inputs/DocumentUpload.test.tsx @@ -56,7 +56,9 @@ describe('Document Upload component', () => { it('Should render a label with the relevant accepted doc types', () => { render(); - screen.getByText('Upload a file (all documents except .xls and .exe)'); + screen.getByText( + 'Upload a file (Allows files that are .DOC, .DOCX, .ODT, .PDF, .XLS, .XLSX or .ZIP)' + ); }); it('Should NOT render an error message when there are no field errors', () => { diff --git a/packages/gap-web-ui/src/components/question-page/inputs/DocumentUpload.tsx b/packages/gap-web-ui/src/components/question-page/inputs/DocumentUpload.tsx index 5aa1a8eaa..91c231c41 100644 --- a/packages/gap-web-ui/src/components/question-page/inputs/DocumentUpload.tsx +++ b/packages/gap-web-ui/src/components/question-page/inputs/DocumentUpload.tsx @@ -42,7 +42,8 @@ const DocumentUpload = ({ )}