From dd7f91efe3a8ad5d1bf7642ae729c31b2956831c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Vit=C3=A1sek?= Date: Wed, 2 Oct 2024 12:17:46 +0200 Subject: [PATCH] fidn by title MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ladislav Vitásek --- .../src/components/CatalogGraphCard/CatalogGraphCard.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/catalog-graph/src/components/CatalogGraphCard/CatalogGraphCard.test.tsx b/plugins/catalog-graph/src/components/CatalogGraphCard/CatalogGraphCard.test.tsx index 672eeb6513ee4..9d4c01f84ead8 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 () => {