feat(short-drama-agent-front): 完善分镜审核与制作准备流程

This commit is contained in:
GJ committed 2026-10-19 21:59:22 +08:00
1 parent c4b43b9725
commit 1da56e0d46
72 files changed
+2801 -528

No files matched your search

+1 -1
View File
@@ -301,7 +301,7 @@ describe('全站平面主题', () => {
.filter(([, , declarations]) =>
/border(?:-[\w]+)?:\s*1px (?:solid|dashed) var\(--(?:app-border|color-line)\)/.test(declarations!)
)
.map(([, selector]) => selector!.trim())
.map(([, selector]) => selector!.replace(/\/\*[\s\S]*?\*\//g, '').trim())
expect(separators).toEqual(['.identity-next-action'])
expect(css).toMatch(/\.surface-inset\s*\{[^}]*background:\s*var\(--app-subtle\)/)
expect(css).toMatch(/\.record-list > article:nth-child\(even\)\s*\{\s*background:/)
+2 -2
View File
@@ -442,7 +442,7 @@ describe('管理后台组件边界', () => {
expect(document.querySelector('.n-modal-container')).toBeNull()
})
it('服务端制作阶段就绪后解锁全部左侧链接,标题只保留项目配置入口', async () => {
it('服务端制作阶段就绪后解锁全部左侧链接,标题保留制作前检查与项目配置入口', async () => {
const detail = vi.spyOn(projectsApi, 'detail').mockResolvedValue({
id: 'navigation-test',
durationMode: 'auto',
@@ -506,7 +506,7 @@ describe('管理后台组件边界', () => {
expect(wrapper.get('.project-view .workspace-page').text()).toBe(path)
}
expect(detail).toHaveBeenCalledOnce()
expect(wrapper.get('.project-header .n-button').text()).toBe('项目配置')
expect(wrapper.findAll('.project-header .n-button').map(button => button.text())).toEqual(['制作前检查', '项目配置'])
expect(wrapper.find('.project-header [aria-label="刷新项目"]').exists()).toBe(false)
expect(wrapper.find('.project-header .n-tag').exists()).toBe(false)
})