feat(short-drama-agent-front): 完善质量规则确认与中文交互

This commit is contained in:
GJ committed 2026-10-17 22:09:28 +08:00
1 parent 190333d4f9
commit c4b43b9725
85 files changed
+2059 -480

No files matched your search

+2 -2
View File
@@ -75,9 +75,9 @@ describe('WorkflowExecution 前端契约', () => {
expect(wrapper.text()).toContain('更新时间')
wrapper.unmount()
})
it('保留未知阶段并限制真实进度范围', () => {
it('未知阶段以待确认展示且不影响真实进度范围', () => {
expect(executionStageLabel('repairing')).toBe('自动修复')
expect(executionStageLabel('new_backend_stage')).toBe('new_backend_stage')
expect(executionStageLabel('new_backend_stage')).toBe('状态待确认')
expect(executionPercentage(1, 2)).toBe(50)
expect(executionPercentage(4, 2)).toBe(100)
expect(executionPercentage(1, 0)).toBe(0)