fix: Increase timeouts in Portfolio Website Code Generator test for improved reliability (nightly fix) (#6908)

 (Portfolio Website Code Generator.spec.ts): update timeouts for waiting for specific selectors to improve test reliability and prevent flakiness
This commit is contained in:
Cristhian Zanforlin Lousa 2025-03-03 18:43:52 -03:00 committed by GitHub
commit 5323a71084
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,9 +64,9 @@ withEventDeliveryModes(
await page.getByTestId("button-send").click();
await page.waitForSelector("text=DOCTYPE html", { timeout: 30000 });
await page.waitForSelector(".language-html", { timeout: 30000 * 3 });
await page.waitForSelector(".markdown", { timeout: 3000 });
await page.waitForSelector(".markdown", { timeout: 30000 });
const textContents = await page
.locator(".markdown")