diff --git a/plugins/catalog-graph/src/components/CatalogGraphPage/CatalogGraphPage.test.tsx b/plugins/catalog-graph/src/components/CatalogGraphPage/CatalogGraphPage.test.tsx index 275b894d78..700053bcd7 100644 --- a/plugins/catalog-graph/src/components/CatalogGraphPage/CatalogGraphPage.test.tsx +++ b/plugins/catalog-graph/src/components/CatalogGraphPage/CatalogGraphPage.test.tsx @@ -194,10 +194,7 @@ describe('', () => { expect(await findAllByTestId('node')).toHaveLength(2); - await userEvent.pointer({ - keys: '[MouseLeft]', - target: getByText('b:d/e'), - }); + await userEvent.click(getByText('b:d/e')); expect(analyticsSpy.getEvents()[0]).toMatchObject({ action: 'click',