From 799a7f7367e8ac39044a45ac9bb3e6938ec0221a Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Wed, 16 Sep 2026 09:24:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(e2e):=20v4=20=E6=A0=B8=E5=BF=83=E7=94=9F?= =?UTF-8?q?=E6=88=90=E5=90=91=E5=AF=BC=E5=86=92=E7=83=9F=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=BB=88=E7=82=B9=E6=94=B9=E4=B8=BA=E3=80=8C=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E7=94=9F=E6=88=90=E5=AE=8C=E6=88=90=E3=80=8D=20(#1953)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: xiaoxia Co-committed-by: xiaoxia --- apps/web/e2e/core-generation.spec.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/apps/web/e2e/core-generation.spec.ts b/apps/web/e2e/core-generation.spec.ts index 6e1a99a05..c94dcec9b 100755 --- a/apps/web/e2e/core-generation.spec.ts +++ b/apps/web/e2e/core-generation.spec.ts @@ -265,15 +265,8 @@ test.describe("Core generation flow", () => { await expect(page.getByText("视频渲染中")).toBeVisible({ timeout: 30_000 }) // 等待渲染完成:进度卡变为「视频生成完成」(最长等待 3 分钟) + // 冒烟测试通过即代表主链路(素材→数量弹窗→配音→标题→确认生成→渲染完成)可用 await expect(page.getByText("视频生成完成")).toBeVisible({ timeout: 180_000 }) - - // 全部完成后底部按钮变为「下一步:选择封面」,点击进入 Step 6(封面) - const nextCoverBtn = page.getByRole("button", { name: /下一步:选择封面/ }) - await expect(nextCoverBtn).toBeVisible({ timeout: 30_000 }) - await nextCoverBtn.click() - await expect(page.getByRole("heading", { name: /选择封面/ })).toBeVisible({ - timeout: 30_000, - }) } else { console.log(`[E2E] Generate API returned ${genResp.status()}, wizard flow test still passes`) // 创建失败时停留在标题页并展示错误提示