feat(short-drama-agent-front): 优化分镜界面并新增弹窗手势
This commit is contained in:
1 parent
b15a6011ce
commit
d68f03471c
59 files changed
+2694
-857
No files matched your search
@@ -168,9 +168,19 @@ describe('已有失败图片的摄影修订', () => {
|
||||
it('保存不采用;明确采用后旧failed转当前stale,原Primary/图片/审核和费用仍保留', async () => {
|
||||
const { wrapper, fetcher, rows } = await camera()
|
||||
try {
|
||||
expect(
|
||||
wrapper
|
||||
.findAll('.workspace-numbered-sections > .workspace-numbered-section')
|
||||
.map(block => block.get('.workspace-section-marker').text())
|
||||
).toEqual(['I', 'II', 'III', 'IV', 'V'])
|
||||
const input = wrapper.findAllComponents(NInput).find(row => row.attributes('aria-label') === '摄影构图')!
|
||||
input.vm.$emit('update:value', '本次新构图,保持正式主体与原动作')
|
||||
await flushPromises()
|
||||
expect(
|
||||
wrapper
|
||||
.findAll('.workspace-numbered-sections > .workspace-numbered-section')
|
||||
.map(block => block.get('.workspace-section-marker').text())
|
||||
).toEqual(['I', 'II', 'III', 'IV', 'V', 'VI'])
|
||||
await click(wrapper, '保存草案')
|
||||
expect(
|
||||
fetcher.mock.calls.some(([url]) => String(url).endsWith('/storyboard-derived-reviews/confirm'))
|
||||
@@ -205,6 +215,8 @@ describe('已有失败图片的摄影修订', () => {
|
||||
depthOfField: 'shallow',
|
||||
visualIntent: '观察来信'
|
||||
})
|
||||
await wrapper.findAll('.keyframe-card')[0]!.get('button[aria-label="查看首帧详情"]').trigger('click')
|
||||
await flushPromises()
|
||||
expect(wrapper.text()).toContain('历史审核未通过,当前来源已变化')
|
||||
expect(wrapper.text()).toContain('草案来源已变化')
|
||||
expect(wrapper.text()).toContain('主首帧')
|
||||
|
||||
Reference in new issue
Block a user