This commit is contained in:
2026-05-08 20:48:29 +08:00
parent abf1f1ebea
commit 94975e4735
82 changed files with 7786 additions and 1012 deletions

View File

@@ -1423,6 +1423,11 @@ test('作品封面上传会先进入 16:9 裁剪面板再提交到后端', async
await waitFor(() => {
expect(screen.getByText('裁剪上传封面')).toBeTruthy();
});
expect(
screen.getByRole('button', { name: '拖拽右下角裁剪边界' }),
).toBeTruthy();
expect(screen.queryByText('左右位置')).toBeNull();
expect(screen.queryByText('上下位置')).toBeNull();
await user.click(screen.getByRole('button', { name: '确认裁剪并上传' }));