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

@@ -32,6 +32,7 @@ describe('连续性审核真实组件流程', () => {
props: { open: true, projectId: 'mock-project', shots: continuityShots, disabled: false },
global: {
stubs: {
teleport: true,
AppDrawer: { template: '<div><slot/><slot name="footer"/></div>' },
AssetImage: true,
LayoutSupplementPanel: true
@@ -42,6 +43,9 @@ describe('连续性审核真实组件流程', () => {
expect(mock.calls.every(item => item.method === 'GET')).toBe(true)
await click('免费读取当前证据')
expect(wrapper.text()).toContain('证据不足')
expect(wrapper.text()).not.toContain('开门、关门属于即时状态')
await wrapper.get('button[aria-label="人工观察说明"]').trigger('click')
await flushPromises()
expect(wrapper.text()).toContain('开门、关门属于即时状态')
const inputs = wrapper.findAllComponents(NInput)
inputs.find(item => item.props('placeholder') === '固定地标一')!.vm.$emit('update:value', '窗')
@@ -122,6 +126,14 @@ describe('连续性审核真实组件流程', () => {
await flushPromises()
await click('免费预览结构约束')
expect(wrapper.text()).toContain('需要确认布局并重新确认母版')
await wrapper
.findAll('.n-collapse-item__header-main')
.find(item => item.text() === '本次完整布局约束')!
.trigger('click')
await flushPromises()
expect(wrapper.text()).toContain('固定连接位置')
expect(wrapper.text()).not.toContain(fingerprint)
expect(wrapper.text()).not.toContain('"layoutConfirmation"')
inputs
.find(item => item.props('placeholder') === '待审结构约束,例如固定连接位置与活动方向')!
.vm.$emit('update:value', '修改后的门轴')