Skip to content

Commit 0f30134

Browse files
committed
Merge branch 'iconbutton-fix-flaky-visual-test' into styled-react-themeprovider
2 parents 80e2d9d + 61165e5 commit 0f30134

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

e2e/components/IconButton.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ const stories = [
4545
disableAnimations: true,
4646
async setup(page: Page) {
4747
await page.keyboard.press('Tab') // focus on icon button
48-
await page.getByText('Bold').waitFor({
49-
state: 'visible',
50-
})
48+
await page.getByText('Bold').waitFor({state: 'visible'})
49+
// eslint-disable-next-line playwright/no-wait-for-timeout
50+
await page.waitForTimeout(1000) // wait until after "tooltip delay" for a stable screenshot
5151
},
5252
},
5353
{

0 commit comments

Comments
 (0)