浏览代码

Wait a bit longer for the cards number update

Tienson Qin 3 年之前
父节点
当前提交
91c09889f0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      e2e-tests/flashcards.spec.ts

+ 1 - 1
e2e-tests/flashcards.spec.ts

@@ -40,7 +40,7 @@ test.skip('flashcard demo', async ({ page, block }) => {
   await block.mustFill('{{cards [[logseq]]}}')
   await page.keyboard.press('Enter')
   const queryCards = page.locator('text="No matched cards"')
-  await queryCards.waitFor({ state: 'hidden', timeout: 1000 })
+  await queryCards.waitFor({ state: 'hidden', timeout: 3000 })
 
   const numberLabel = page.locator('.cards-title')
   await numberLabel.waitFor({ state: 'visible' })