We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7352744 commit 71102b4Copy full SHA for 71102b4
e2e/helpers.ts
@@ -5,6 +5,7 @@ import { basename } from 'path'
5
6
export const assertAndDismissNoty = async (page: Page, text: string) => {
7
const noty = page.locator('shade-noty', { hasText: text })
8
+ await noty.waitFor({ state: 'visible' })
9
const closeNoty = noty.locator('button.dismissNoty')
10
await closeNoty.click()
11
await noty.waitFor({ state: 'detached' })
0 commit comments