fix: 补齐过期首帧素材定位与图库影响提示
This commit is contained in:
1 parent
f71d2bf0a4
commit
771b66cafc
11 files changed
+826
-23
No files matched your search
@@ -856,7 +856,9 @@ describe('工作台页面交互', () => {
|
||||
expect(wrapper!.text()).toContain('林知夏')
|
||||
expect(wrapper!.text()).toContain('主参考图')
|
||||
expect(fetcher.mock.calls.map(([url, init]) => [url, init?.method])).toEqual([
|
||||
['/api/projects/page-test-project/subject-forms', 'GET']
|
||||
['/api/projects/page-test-project/subject-forms', 'GET'],
|
||||
['/api/projects/page-test-project/keyframes/readiness?force=false', 'GET'],
|
||||
['/api/projects/page-test-project/videos/readiness?force=false', 'GET']
|
||||
])
|
||||
await wrapper!.get('[aria-label="搜索形态图片"]').setValue('不存在的形态')
|
||||
expect(wrapper!.text()).toContain('没有匹配的形态')
|
||||
@@ -883,7 +885,7 @@ describe('工作台页面交互', () => {
|
||||
'/storage/subjects/project/form/image.png'
|
||||
)
|
||||
expect(document.querySelector('.image-history')).toBeNull()
|
||||
expect(fetcher).toHaveBeenCalledOnce()
|
||||
expect(fetcher).toHaveBeenCalledTimes(3)
|
||||
document.querySelector<HTMLElement>('.n-image-preview-overlay')!.click()
|
||||
await flushPromises()
|
||||
button('查看图片与记录').click()
|
||||
|
||||
Reference in new issue
Block a user