1
0
Junyi Du 2 жил өмнө
parent
commit
d86cf7ea67

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

@@ -36,6 +36,7 @@ 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)