diff --git a/tests/app/setup/steps/DownloadClientStep.test.tsx b/tests/app/setup/steps/DownloadClientStep.test.tsx index 7ad710a..1829a2e 100644 --- a/tests/app/setup/steps/DownloadClientStep.test.tsx +++ b/tests/app/setup/steps/DownloadClientStep.test.tsx @@ -122,7 +122,7 @@ describe('DownloadClientStep', () => { expect(fetchMock).toHaveBeenCalledWith('/api/setup/test-download-client', expect.any(Object)); }); - expect(screen.getByText('Bad credentials')).toBeInTheDocument(); + expect(screen.getByText(/Bad credentials/)).toBeInTheDocument(); }); it('disables test connection when SABnzbd fields are incomplete', async () => {