refactor: Remove unnecessary wait for timeout in Travel Planning Agent test (#5143)
* refactor: Remove unnecessary wait for timeout in Travel Planning Agent test
This commit is contained in:
parent
7114061f67
commit
979aaa7cae
1 changed files with 0 additions and 4 deletions
|
|
@ -58,8 +58,6 @@ test(
|
||||||
.first()
|
.first()
|
||||||
.fill(process.env.SEARCH_API_KEY ?? "");
|
.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").click();
|
||||||
|
|
||||||
await page.getByTestId("button_run_chat output").last().click();
|
await page.getByTestId("button_run_chat output").last().click();
|
||||||
|
|
@ -83,8 +81,6 @@ test(
|
||||||
timeout: 30000,
|
timeout: 30000,
|
||||||
});
|
});
|
||||||
|
|
||||||
await page.waitForTimeout(1000);
|
|
||||||
|
|
||||||
const output = await page.getByTestId("div-chat-message").allTextContents();
|
const output = await page.getByTestId("div-chat-message").allTextContents();
|
||||||
const outputText = output.join("\n");
|
const outputText = output.join("\n");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue