diff --git a/packages/discovery-react-components/src/components/DocumentPreview/__tests__/DocumentPreview.test.tsx b/packages/discovery-react-components/src/components/DocumentPreview/__tests__/DocumentPreview.test.tsx index 0ec80f1e..231b3b8b 100644 --- a/packages/discovery-react-components/src/components/DocumentPreview/__tests__/DocumentPreview.test.tsx +++ b/packages/discovery-react-components/src/components/DocumentPreview/__tests__/DocumentPreview.test.tsx @@ -252,7 +252,7 @@ describe('DocumentPreview', () => { ); // evidence PDF rendered - const elem = await screen.findByText('ART EFFECTS LIMITED'); + const elem = await screen.findByText('ART EFFECTS LIMITED', {}, { timeout: 5000 }); expect(elem).toBeInTheDocument(); }, THIRTY_SECONDS