From 6fed9cd3ad52a82d184ee211b058335971124b84 Mon Sep 17 00:00:00 2001 From: Deyan Zhekov Date: Wed, 20 May 2026 14:00:30 +0300 Subject: [PATCH 1/3] fix(e2e): [OCISDEV-843] Use correct listType for search results after pressing Enter --- tests/e2e/specs/search/search.spec.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/e2e/specs/search/search.spec.ts b/tests/e2e/specs/search/search.spec.ts index 461d74215be..d7a3ea4457a 100644 --- a/tests/e2e/specs/search/search.spec.ts +++ b/tests/e2e/specs/search/search.spec.ts @@ -265,9 +265,6 @@ test.describe('Search', { tag: '@predefined-users' }, () => { }) // # search difficult names - // allow extra time for search indexing of Unicode folder name after rename operations - const { page } = world.actorsEnvironment.getActor({ key: 'Alice' }) - await page.waitForTimeout(2000) // When "Alice" searches "strängéनेपालीName" using the global search and the "all files" filter and presses enter await ui.userSearchesGloballyWithFilter({ world, @@ -282,7 +279,7 @@ test.describe('Search', { tag: '@predefined-users' }, () => { // | strängéनेपालीName | await ui.userShouldSeeResources({ world, - listType: resourcePage.searchList, + listType: resourcePage.filesList, stepUser: 'Alice', resources: ['strängéनेपालीName'] }) From 768896ae586cfb6a7f420969ea20bf4e86080d6f Mon Sep 17 00:00:00 2001 From: Deyan Zhekov Date: Thu, 21 May 2026 14:28:51 +0300 Subject: [PATCH 2/3] fix(e2e): [OCISDEV-843] Keeps resourcePage.searchList as the correct listType --- tests/e2e/specs/search/search.spec.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/e2e/specs/search/search.spec.ts b/tests/e2e/specs/search/search.spec.ts index d7a3ea4457a..65901c8911f 100644 --- a/tests/e2e/specs/search/search.spec.ts +++ b/tests/e2e/specs/search/search.spec.ts @@ -265,6 +265,9 @@ test.describe('Search', { tag: '@predefined-users' }, () => { }) // # search difficult names + // allow extra time for search indexing of Unicode folder name after rename operations + const { page } = world.actorsEnvironment.getActor({ key: 'Alice' }) + await page.waitForTimeout(5000) // When "Alice" searches "strängéनेपालीName" using the global search and the "all files" filter and presses enter await ui.userSearchesGloballyWithFilter({ world, @@ -279,7 +282,7 @@ test.describe('Search', { tag: '@predefined-users' }, () => { // | strängéनेपालीName | await ui.userShouldSeeResources({ world, - listType: resourcePage.filesList, + listType: resourcePage.searchList, stepUser: 'Alice', resources: ['strängéनेपालीName'] }) From f4a2f0cf21db44f4b3569927bef3d2ca9bcb55b7 Mon Sep 17 00:00:00 2001 From: Deyan Zhekov Date: Thu, 4 Jun 2026 12:39:05 +0300 Subject: [PATCH 3/3] fix(e2e): [OCISDEV-843] Using the filesList fix for listType --- tests/e2e/specs/search/search.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/specs/search/search.spec.ts b/tests/e2e/specs/search/search.spec.ts index 65901c8911f..027ae18ff00 100644 --- a/tests/e2e/specs/search/search.spec.ts +++ b/tests/e2e/specs/search/search.spec.ts @@ -282,7 +282,7 @@ test.describe('Search', { tag: '@predefined-users' }, () => { // | strängéनेपालीName | await ui.userShouldSeeResources({ world, - listType: resourcePage.searchList, + listType: resourcePage.filesList, stepUser: 'Alice', resources: ['strängéनेपालीName'] })