feat(short-drama-agent-front): 接入人工动作修订与视频版本权限

This commit is contained in:
GJ committed 2026-10-14 13:44:02 +08:00
1 parent 7a60db3ced
commit fa76165960
38 files changed
+2003 -158

No files matched your search

@@ -62,7 +62,7 @@ const record = (workflowName: string, day: number, status: 'running' | 'complete
})
describe('精简公开资产回归', () => {
it('无内部字段的视频可播放,未知质量不得直接晋升;真实校验结果按项目隔离', async () => {
it('无内部字段的视频可播放,晋升使用后端权限,会话通过不能授权', async () => {
const projectId = 'public-video-contract'
const video = videoFixture({ isPrimary: false })
expect(video).not.toHaveProperty('rawJson')
@@ -104,7 +104,7 @@ describe('精简公开资产回归', () => {
await flushPromises()
expect(
[...document.querySelectorAll('button')].some(button => button.textContent?.trim() === '设为主视频')
).toBe(true)
).toBe(false)
expect(sessionVideoValidation('other-project', shot.shotId, video.id)).toBeNull()
session.videoValidation = { ...validation, passed: false }
await flushPromises()