diff --git a/plugins/catalog-graph/src/components/CatalogGraphCard/CatalogGraphCard.test.tsx b/plugins/catalog-graph/src/components/CatalogGraphCard/CatalogGraphCard.test.tsx index 672eeb6513..9d4c01f84e 100644 --- a/plugins/catalog-graph/src/components/CatalogGraphCard/CatalogGraphCard.test.tsx +++ b/plugins/catalog-graph/src/components/CatalogGraphCard/CatalogGraphCard.test.tsx @@ -152,7 +152,7 @@ describe('', () => { }, ); - expect(await screen.findByText('Action Button')).toBeInTheDocument(); + expect(await screen.findByTitle('Action Button')).toBeInTheDocument(); }); test('renders link to standalone viewer', async () => {