瀏覽代碼

e2e debugging 5

Junyi Du 2 年之前
父節點
當前提交
ab3fd07950
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      e2e-tests/page-search.spec.ts

+ 0 - 2
e2e-tests/page-search.spec.ts

@@ -36,11 +36,9 @@ test('Search page and blocks (diacritics)', async ({ page, block }) => {
   await block.enterNext()
   await block.mustType('[[Einführung in die Allgemeine Sprachwissenschaft' + rand + ']] diacritic-block-2', { delay: 10 })
   await page.keyboard.press(hotkeyBack)
-  await page.waitForTimeout(1000) // wait longer for db update
 
   // check if diacritics are indexed
   const results = await searchPage(page, 'Einführung in die Allgemeine Sprachwissenschaft' + rand)
-  await page.pause();
   await expect(results.length).toEqual(5) // 1 page + 2 block + 2 page content
   await closeSearchBox(page)
 })