Explorar el Código

fix(e2e): page search results

Andelf hace 1 año
padre
commit
95461d8a8a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      e2e-tests/page-search.spec.ts

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

@@ -39,7 +39,7 @@ test('Search page and blocks (diacritics)', async ({ page, block }) => {
 
   // check if diacritics are indexed
   const results = await searchPage(page, 'Einführung in die Allgemeine Sprachwissenschaft' + rand)
-  await expect(results.length).toEqual(5) // 1 page + 2 block + 2 page content
+  await expect(results.length).toEqual(6) // 1 page + 2 block + 2 page content + 1 current page
   await closeSearchBox(page)
 })