fix(e2e): 修复 step3→step4 导航 — 确认生成按钮在 step4 不在 step3 #1969
Reference in New Issue
Block a user
Delete Branch "fix/e2e-step4-navigation-v2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
根因
GenerateStepActions.tsx中currentStep < 4显示"下一步 →",仅
currentStep === 4才渲染"✨ 确认生成视频"。E2E 测试原在 step 3(标题页)查找"确认生成视频"按钮,
但该按钮只在 step 4 出现,导致
waitForResponse超时 30s 后失败。修复
变更文件
apps/web/e2e/core-generation.spec.ts:xx-step-actions .xx-btn-primary定位确认按钮Promise.any容错(渲染完成 vs 失败/超时)关联
CI全绿,自动审批通过。
CI全绿,自动审批通过。
🚀 预览环境已部署
🗑️ 预览环境已清理
PR #1969 已关闭或合并,对应的预览环境已被清理。