feat(short-drama-agent-front): 优化分镜界面并新增弹窗手势

This commit is contained in:
GJ committed 2026-11-18 18:50:15 +08:00
1 parent b15a6011ce
commit d68f03471c
59 files changed
+2694 -857

No files matched your search

@@ -194,6 +194,17 @@ describe('原摄影抽屉内的联合流程', () => {
it.each([false, true])('保存、画面预览、联合免费预检和采用分开,幂等回执=%s', async reused => {
const { wrapper, fetcher, fixture } = await editor(false, reused)
expect(wrapper.text()).toContain('完整字段差异(4 项)')
expect(wrapper.findAll('.workspace-section-marker').map(item => item.text())).toEqual([
'I',
'II',
'III',
'IV',
'V',
'VI'
])
expect(wrapper.findAll('.workspace-panel > .workspace-section-heading .workspace-section-marker')).toHaveLength(
0
)
expect(fetcher.mock.calls.every(([, init]) => init?.method === 'GET')).toBe(true)
wrapper
.findAllComponents(NInput)
@@ -280,6 +291,15 @@ describe('原摄影抽屉内的联合流程', () => {
it('环境差异须逐字本集证据,冻结原字节全文SHA;保存和预检不自动采用', async () => {
const { wrapper, fetcher, episode } = await editor(false, false, true)
expect(wrapper.text()).toContain('本集原文依据')
expect(wrapper.findAll('.workspace-section-marker').map(item => item.text())).toEqual([
'I',
'II',
'III',
'IV',
'V',
'VI',
'VII'
])
await wrapper.vm.save()
await flushPromises()
await click(wrapper, '免费核对草案画面输入')