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:
parent
60176778fb
commit
5323a71084
1 changed files with 2 additions and 2 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue