mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
fix(test): refine check state
This commit is contained in:
@@ -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' })
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user