Skip to content

Commit 71102b4

Browse files
committed
try fix e2e
1 parent 7352744 commit 71102b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

e2e/helpers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { basename } from 'path'
55

66
export const assertAndDismissNoty = async (page: Page, text: string) => {
77
const noty = page.locator('shade-noty', { hasText: text })
8+
await noty.waitFor({ state: 'visible' })
89
const closeNoty = noty.locator('button.dismissNoty')
910
await closeNoty.click()
1011
await noty.waitFor({ state: 'detached' })

0 commit comments

Comments
 (0)