mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
fix: extend app test timeout (#21934)
This commit is contained in:
@@ -62,7 +62,7 @@ test("app", async ({ context, page }) => {
|
||||
const agent = await startAgent(page, token);
|
||||
|
||||
// Wait for the web terminal to open in a new tab
|
||||
const pagePromise = context.waitForEvent("page");
|
||||
const pagePromise = context.waitForEvent("page", { timeout: 10_000 });
|
||||
await page.getByText(appName).click({ timeout: 10_000 });
|
||||
const app = await pagePromise;
|
||||
await app.waitForLoadState("domcontentloaded");
|
||||
|
||||
Reference in New Issue
Block a user