diff --git a/plugins/catalog-react/src/components/EntityPeekAheadPopover/EntityPeekAheadPopover.test.tsx b/plugins/catalog-react/src/components/EntityPeekAheadPopover/EntityPeekAheadPopover.test.tsx index f7c4d1cffa..2fc630313f 100644 --- a/plugins/catalog-react/src/components/EntityPeekAheadPopover/EntityPeekAheadPopover.test.tsx +++ b/plugins/catalog-react/src/components/EntityPeekAheadPopover/EntityPeekAheadPopover.test.tsx @@ -78,7 +78,7 @@ describe('', () => { expect(screen.queryByText('service2')).toBeNull(); fireEvent.mouseOver(screen.getByTestId('popover2')); expect( - await screen.findByText(/service2 was not found/), + await screen.findByText('Error: service2 was not found'), ).toBeInTheDocument(); }); });