Skip to content

Commit

Permalink
fix: flaky toolttp in test
Browse files Browse the repository at this point in the history
  • Loading branch information
sashuk committed Jun 26, 2023
1 parent a1ca56c commit 856c94c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cypress/component/TypographyOverflow.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 856c94c

Please sign in to comment.