fix(short-drama-agent-front): 修复首帧当前质量展示
This commit is contained in:
1 parent
13efe5b786
commit
8674ba0c83
18 files changed
+679
-137
No files matched your search
@@ -166,7 +166,13 @@ function server() {
|
||||
else if (path.endsWith('/production/entry-readiness')) data = { ready: true }
|
||||
else if (path.endsWith('/validations')) data = []
|
||||
else if (path.endsWith('/quality-review'))
|
||||
data = { effectiveQualityStatus: 'unknown', qualityDecision: 'unknown', historicalGazePreview: [] }
|
||||
data = {
|
||||
shotId: keyframe.shotId,
|
||||
keyframeId: keyframe.id,
|
||||
effectiveQualityStatus: 'unknown',
|
||||
qualityDecision: 'unknown',
|
||||
historicalGazePreview: []
|
||||
}
|
||||
else if (path.includes('/readiness')) data = readiness
|
||||
else if (path.endsWith('/keyframes')) data = [keyframe]
|
||||
else if (path.endsWith('/videos')) data = [video]
|
||||
@@ -464,7 +470,7 @@ describe('质量面板渐进展示', () => {
|
||||
validationButton().click()
|
||||
await flushPromises()
|
||||
expect(data.posts()).toHaveLength(1)
|
||||
expect(document.body.textContent).toContain('视觉校验通过')
|
||||
expect(document.body.textContent).toContain('质量待确认')
|
||||
})
|
||||
|
||||
it('批量默认当前集一镜,调整次数撤销费用确认', async () => {
|
||||
|
||||
Reference in new issue
Block a user