diff --git a/e2e/components/IconButton.test.ts b/e2e/components/IconButton.test.ts index 99a4fde5546..955d22588f4 100644 --- a/e2e/components/IconButton.test.ts +++ b/e2e/components/IconButton.test.ts @@ -45,9 +45,9 @@ const stories = [ disableAnimations: true, async setup(page: Page) { await page.keyboard.press('Tab') // focus on icon button - await page.getByText('Bold').waitFor({ - state: 'visible', - }) + await page.getByText('Bold').waitFor({state: 'visible'}) + // eslint-disable-next-line playwright/no-wait-for-timeout + await page.waitForTimeout(1000) // wait until after "tooltip delay" for a stable screenshot }, }, {