Browse Source

e2e debugging 5

Junyi Du 2 years ago
parent
commit
ab3fd07950
1 changed files with 0 additions and 2 deletions
  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)
 })