From 856c94cfc731f23a02f2a79e8d3aa715af04da63 Mon Sep 17 00:00:00 2001 From: Aleksandr Shumilov Date: Mon, 26 Jun 2023 14:57:07 +0200 Subject: [PATCH] fix: flaky toolttp in test --- cypress/component/TypographyOverflow.spec.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cypress/component/TypographyOverflow.spec.tsx b/cypress/component/TypographyOverflow.spec.tsx index 91c0896de5..7667e599c0 100644 --- a/cypress/component/TypographyOverflow.spec.tsx +++ b/cypress/component/TypographyOverflow.spec.tsx @@ -89,6 +89,9 @@ describe('TypographyOverflow', () => { variant: 'default/after-hovered-static-width', }) + cy.get('body').click(0, 0) + cy.getByRole('tooltip').should('not.exist') + cy.getByTestId('ellipsed-text-dynamic-width').click() cy.get('body').happoScreenshot({ component,