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

+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)
})