test(e2e): #1954 用稳定的「下载」按钮断言代替易消失toast+封面选择器收紧 #1960
Reference in New Issue
Block a user
Delete Branch "fix/e2e-cover-assertion-1954"
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?
背景
#1957 合入后首次 Staging E2E 失败,排查发现两个问题:
page.getByText("视频生成完成")命中的是 antdmessage.successtoast,3秒后自动消失;CI 慢环境下可能错过.xx-step-actions直接子级,可能误命中封面区域内「✨ 自动生成封面」按钮修复
.xx-step-actions > .xx-btn-primary直接子选择器getByText("🖼️ 选择封面")规避 emoji role 匹配问题Refs #1954 #1957
CI全绿,自动审批通过。
CI全绿,自动审批通过。
🚀 预览环境已部署
🗑️ 预览环境已清理
PR #1960 已关闭或合并,对应的预览环境已被清理。