diff --git a/apps/web/e2e/core-generation.spec.ts b/apps/web/e2e/core-generation.spec.ts index e3247e0d6..ef604b90d 100755 --- a/apps/web/e2e/core-generation.spec.ts +++ b/apps/web/e2e/core-generation.spec.ts @@ -49,10 +49,10 @@ type AssetListResponse = { } test.describe("Core generation flow", () => { - test.describe.configure({ timeout: 360_000 }) + test.describe.configure({ timeout: 600_000 }) test("walks through wizard with count modal and starts generation", async ({ page, request }) => { - test.setTimeout(360_000) + test.setTimeout(600_000) await routeBrowserApiToTestApi(page) const suffix = Date.now().toString(36) @@ -266,7 +266,7 @@ test.describe("Core generation flow", () => { // 等待渲染完成:单视频成片播放器渲染(带「⬇️ 下载」按钮),最长等待 3 分钟 // 注意:message.success「视频生成完成」toast 3秒后自动消失,不能作为稳定断言点 - await expect(page.getByRole("button", { name: "⬇️ 下载" })).toBeVisible({ timeout: 180_000 }) + await expect(page.getByRole("button", { name: "⬇️ 下载" })).toBeVisible({ timeout: 420_000 }) // #1954 修复:生成完成后步骤4底部应显示「下一步:选择封面」按钮 // 等待底部主按钮从「⏳/确认生成」切换为「下一步:选择封面」