diff --git a/plugins/splunk-on-call/src/components/EntitySplunkOnCallCard.test.tsx b/plugins/splunk-on-call/src/components/EntitySplunkOnCallCard.test.tsx index 9c16752421..da248ebec0 100644 --- a/plugins/splunk-on-call/src/components/EntitySplunkOnCallCard.test.tsx +++ b/plugins/splunk-on-call/src/components/EntitySplunkOnCallCard.test.tsx @@ -154,8 +154,7 @@ describe('SplunkOnCallCard', () => { await waitFor(() => !queryByTestId('progress')); expect(getByText(`Team: ${MOCK_TEAM.name}`)).toBeInTheDocument(); await waitFor( - () => - expect(getByText(MOCK_INCIDENT.entityDisplayName)).toBeInTheDocument(), + () => expect(getByText('test-incident')).toBeInTheDocument(), { timeout: 2000 }, ); });