Skip to content

Commit 1ce1028

Browse files
committed
Add timeout to test
1 parent 11cf721 commit 1ce1028

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

e2e/components/Dialog.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ test.describe('Dialog', () => {
5858
const isDialogOpen = await page.locator('role=dialog').isVisible()
5959
if (!isDialogOpen) {
6060
await page.getByRole('button', {name: 'Show dialog'}).click()
61+
await page.waitForTimeout(1000)
6162
}
6263
expect(await page.screenshot({animations: 'disabled'})).toMatchSnapshot(
6364
`Dialog.${story.title}.${theme}.png`,

0 commit comments

Comments
 (0)