fix: add bigger timeout to pokedex test (#9551)

Add bigger timeout to pokedex test
This commit is contained in:
Lucas Oliveira 2025-08-26 14:54:55 -03:00 committed by GitHub
commit 9c1a6de88e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,10 +35,10 @@ withEventDeliveryModes(
await page.getByTestId("button-send").last().click();
const stopButton = page.getByRole("button", { name: "Stop" });
await stopButton.waitFor({ state: "visible", timeout: 30000 });
await stopButton.waitFor({ state: "visible", timeout: 40000 });
if (await stopButton.isVisible()) {
await expect(stopButton).toBeHidden({ timeout: 120000 });
await expect(stopButton).toBeHidden({ timeout: 200000 });
}
const output = await page.getByTestId("div-chat-message").innerText();