Skip to content

Commit

Permalink
fix(test): refine check state
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Dec 19, 2023
1 parent b15652f commit 22da191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e-tests/hotkey.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ test('open search dialog', async ({ page }) => {
await closeSearchBox(page)
await page.keyboard.press(modKey + '+k')

await page.waitForSelector('[placeholder="What are you looking for?"]')
await page.waitForSelector('[placeholder="What are you looking for?"]', { state: 'visible' })
await page.keyboard.press('Escape')
await page.waitForSelector('[placeholder="What are you looking for?"]', { state: 'hidden' })
})
Expand Down

0 comments on commit 22da191

Please sign in to comment.