test(e2e): stabilize Phase 2 runs — disable dev webServer by default, increase API timeouts, retry navigation and harden dialog interactions

This commit is contained in:
GitHub Actions
2026-02-09 16:59:11 +00:00
parent 378384b319
commit e080c487f2
27 changed files with 950 additions and 67 deletions

View File

@@ -199,7 +199,9 @@ export async function waitForAPIResponse(
urlPattern: string | RegExp,
options: APIResponseOptions = {}
): Promise<Response> {
const { status, timeout = 30000 } = options;
// Increase default timeout to 60s to tolerate slower CI/backends; individual
// tests may override this if they expect faster responses.
const { status, timeout = 60000 } = options;
const responsePromise = page.waitForResponse(
(response) => {