From 979aaa7caeec7a60da0bcb575168449b1867b96c Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Sat, 7 Dec 2024 11:54:27 -0300 Subject: [PATCH] refactor: Remove unnecessary wait for timeout in Travel Planning Agent test (#5143) * refactor: Remove unnecessary wait for timeout in Travel Planning Agent test --- .../tests/core/integrations/Travel Planning Agent.spec.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/frontend/tests/core/integrations/Travel Planning Agent.spec.ts b/src/frontend/tests/core/integrations/Travel Planning Agent.spec.ts index 658da4b0e1..d66e3227de 100644 --- a/src/frontend/tests/core/integrations/Travel Planning Agent.spec.ts +++ b/src/frontend/tests/core/integrations/Travel Planning Agent.spec.ts @@ -58,8 +58,6 @@ test( .first() .fill(process.env.SEARCH_API_KEY ?? ""); - await page.waitForTimeout(1000); - await page.getByTestId("button_run_chat output").click(); await page.getByTestId("button_run_chat output").last().click(); @@ -83,8 +81,6 @@ test( timeout: 30000, }); - await page.waitForTimeout(1000); - const output = await page.getByTestId("div-chat-message").allTextContents(); const outputText = output.join("\n");