fix(e2e): 适配5步向导流程,删除已移除的模板选择和数量弹窗步骤 #1948

Merged
auto-approve-bot merged 1 commits from fix/e2e-5step-wizard into develop 2026-09-16 07:00:28 +08:00
Collaborator

修复内容

P0 - E2E 测试适配 5 步向导

PR#1911 将向导从 6 步简化为 5 步(删除选模板步骤),后端 PR#1913/#1914 添加了默认模板自动回退。但 E2E 测试 core-generation.spec.ts 仍按旧版 6 步流程查找已删除的元素(.xx-choice-item.selected、"要生成几个视频?" 弹窗),导致 develop CI Staging E2E 连续失败。

变更

  • 测试名 "6-step wizard" → "5-step wizard"
  • 删除 Step 1 模板选择断言(.xx-choice-item.selected + 下一步点击)
  • 删除数量选择弹窗断言("要生成几个视频?" + "生成 1 个视频" 点击)
  • 步骤注释重新编号:旧 Step 2→1, 3→2, 4→3, 5→4, 6→5

P1 状态

Header.test.tsx Typography mock 已由 #1947 合入修复(使用 importActual 透传)。

向导流程(5 步)

素材(1) → 配音(2) → 标题(3) → 确认生成(4) → 封面(5)

## 修复内容 **P0 - E2E 测试适配 5 步向导** PR#1911 将向导从 6 步简化为 5 步(删除选模板步骤),后端 PR#1913/#1914 添加了默认模板自动回退。但 E2E 测试 `core-generation.spec.ts` 仍按旧版 6 步流程查找已删除的元素(`.xx-choice-item.selected`、"要生成几个视频?" 弹窗),导致 develop CI Staging E2E 连续失败。 ### 变更 - 测试名 "6-step wizard" → "5-step wizard" - 删除 Step 1 模板选择断言(`.xx-choice-item.selected` + 下一步点击) - 删除数量选择弹窗断言("要生成几个视频?" + "生成 1 个视频" 点击) - 步骤注释重新编号:旧 Step 2→1, 3→2, 4→3, 5→4, 6→5 ### P1 状态 `Header.test.tsx` Typography mock 已由 #1947 合入修复(使用 `importActual` 透传)。 ### 向导流程(5 步) 素材(1) → 配音(2) → 标题(3) → 确认生成(4) → 封面(5)
frontend-dev added 1 commit 2026-09-16 06:49:21 +08:00
fix(e2e): 适配5步向导流程,删除已移除的模板选择和数量弹窗步骤
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (pull_request) Successful in 2s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 2s
CI/CD Pipeline / PR Build Web Image (pull_request) Successful in 1m22s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 1m55s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 2m6s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 2m43s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Successful in 3m17s
CI/CD Pipeline / Validate - Style (pull_request) Successful in 4m30s
CI/CD Pipeline / Validate - Python (mypy + alembic) (pull_request) Successful in 4m43s
AI Code Review / AI Code Review (pull_request) Successful in 6m45s
CI/CD Pipeline / Validate - Security (pull_request) Successful in 10m24s
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / CI Gate (pull_request) Successful in 4s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 8m54s
ACR Cleanup / ACR Image Cleanup (pull_request_target) Successful in 35s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 53s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 8h23m54s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 8h32m9s
CI/CD Pipeline / Retag skipped Staging API Image (pull_request) Failing after 8h32m16s
CI/CD Pipeline / PR Build API Image (pull_request) Failing after 8h32m58s
CI/CD Pipeline / Check push changed paths (pull_request) Failing after 8h33m31s
CI/CD Pipeline / Retag skipped Staging Worker Image (pull_request) Failing after 8h31m26s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 8h33m27s
CI/CD Pipeline / PR Build Worker Image (pull_request) Failing after 8h31m36s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 8h33m27s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 8h33m27s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 8h33m28s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 8h23m1s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 8h23m4s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 8h23m4s
CI/CD Pipeline / Retag skipped Staging Web Image (pull_request) Failing after 8h31m26s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 8h33m27s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 8h31m19s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 8h31m19s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 8h23m1s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 8h31m24s
befe2e079b
auto-approve-bot approved these changes 2026-09-16 06:51:28 +08:00
auto-approve-bot left a comment
Collaborator

CI全绿,自动审批通过。

CI全绿,自动审批通过。
auto-approve-bot approved these changes 2026-09-16 06:51:29 +08:00
auto-approve-bot left a comment
Collaborator

CI全绿,自动审批通过。

CI全绿,自动审批通过。

🚀 预览环境已部署

项目 详情
PR号 #1948
预览链接 https://pr-1948.preview.xiaoxiajianji.com
API环境 staging

💡 预览环境使用 staging API 数据,请勿在预览环境中操作重要数据。

🔄 每次提交新代码后预览环境会自动更新。

🗑️ PR 关闭或合并后,预览环境会自动清理。

🚀 **预览环境已部署** | 项目 | 详情 | |------|------| | PR号 | #1948 | | 预览链接 | [https://pr-1948.preview.xiaoxiajianji.com](https://pr-1948.preview.xiaoxiajianji.com) | | API环境 | staging | > 💡 预览环境使用 staging API 数据,请勿在预览环境中操作重要数据。 > > 🔄 每次提交新代码后预览环境会自动更新。 > > 🗑️ PR 关闭或合并后,预览环境会自动清理。
auto-approve-bot merged commit 3ad48335f6 into develop 2026-09-16 07:00:28 +08:00
auto-approve-bot deleted branch fix/e2e-5step-wizard 2026-09-16 07:00:29 +08:00

🗑️ 预览环境已清理

PR #1948 已关闭或合并,对应的预览环境已被清理。

如有需要,可以重新打开 PR 来重新生成预览环境。

🗑️ **预览环境已清理** PR #1948 已关闭或合并,对应的预览环境已被清理。 > 如有需要,可以重新打开 PR 来重新生成预览环境。
Sign in to join this conversation.