拆分图片画布生成对象注册表
新增画布生成对象 dialog 管理 hook 补充生成对象注册表 hook 单测 调整 Lovart 式画布背景色板弹层 更新图片画布前端拆分跟踪文档
This commit is contained in:
@@ -1991,7 +1991,7 @@ describe('ImageCanvasEditorView', () => {
|
||||
const settingsPanel = screen.getByRole('dialog', {
|
||||
name: '画布背景设置',
|
||||
});
|
||||
expect(within(settingsPanel).getByText('画布背景')).toBeTruthy();
|
||||
expect(within(settingsPanel).getByText('画布背景色')).toBeTruthy();
|
||||
|
||||
fireEvent.click(
|
||||
within(settingsPanel).getByRole('button', { name: '暖灰' }),
|
||||
|
||||
Reference in New Issue
Block a user