diff --git a/apps/webapp/test/e2e_tests/pageManager/webapp/cells/cellsConversationFiles.page.ts b/apps/webapp/test/e2e_tests/pageManager/webapp/cells/cellsConversationFiles.page.ts index b70e0e6efbf..fdf0898e131 100644 --- a/apps/webapp/test/e2e_tests/pageManager/webapp/cells/cellsConversationFiles.page.ts +++ b/apps/webapp/test/e2e_tests/pageManager/webapp/cells/cellsConversationFiles.page.ts @@ -31,6 +31,7 @@ export class CellsConversationFilesPage { } async searchFile(fileName: string) { + await this.searchInput.clear(); await this.searchInput.fill(fileName); } diff --git a/apps/webapp/test/e2e_tests/specs/Drive/searchFilesInGroupConversation-TC-8788.spec.ts b/apps/webapp/test/e2e_tests/specs/Drive/searchFilesInGroupConversation-TC-8788.spec.ts index 101d775e990..9af474df297 100644 --- a/apps/webapp/test/e2e_tests/specs/Drive/searchFilesInGroupConversation-TC-8788.spec.ts +++ b/apps/webapp/test/e2e_tests/specs/Drive/searchFilesInGroupConversation-TC-8788.spec.ts @@ -86,7 +86,7 @@ test( await expect(async () => { // Search for the video file await userBPages.cellsConversationFiles().searchFile(VideoFileName); - await expect(userBPages.cellsConversationFiles().filesList).toHaveCount(1, {timeout: 500}); + await expect(userBPages.cellsConversationFiles().filesList).toHaveCount(1, {timeout: 1500}); await expect(userBPages.cellsConversationFiles().getFile(VideoFileName)).toBeVisible({timeout: 500}); }).toPass({intervals: [1_000, 2_000, 5_000], timeout: 10_000}); // Search for a non-existing file