Explorar o código

fix(e2e): page search results

Andelf hai 1 ano
pai
achega
95461d8a8a
Modificáronse 1 ficheiros con 1 adicións e 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)
 })