合并 master 最新变更
同步远端 master 至游戏场景功能分支 保留场景自定义画风控件并接入 master 的自适应文本输入组件 解决图片画布基础生成表单的唯一合并冲突
This commit is contained in:
@@ -559,6 +559,9 @@ describe('ImageCanvasGenerationComposerView', () => {
|
||||
render(<VideoHarness />);
|
||||
|
||||
const panel = screen.getByRole('dialog', { name: '生成视频' });
|
||||
const prompt = within(panel).getByRole('textbox', { name: '视频描述' });
|
||||
expect(prompt.className).toContain('auto-grow-text-area');
|
||||
expect(prompt.className).not.toContain('platform-text-field');
|
||||
expect(
|
||||
within(panel).getByRole('button', {
|
||||
name: '视频参数 16:9 · 4秒 · 480p',
|
||||
@@ -683,7 +686,9 @@ describe('ImageCanvasGenerationComposerView', () => {
|
||||
expect(footer?.children[2]?.className).toContain(
|
||||
'image-canvas-editor__generation-submit',
|
||||
);
|
||||
expect(within(panel).getByRole('textbox', { name: 'prompt' })).toBeTruthy();
|
||||
const prompt = within(panel).getByRole('textbox', { name: 'prompt' });
|
||||
expect(prompt.className).toContain('auto-grow-text-area');
|
||||
expect(prompt.className).not.toContain('platform-text-field');
|
||||
expect(screen.getByLabelText('当前音效模型').textContent).toBe('audio1.0');
|
||||
const soundModelButton = within(panel).getByRole('button', {
|
||||
name: '音效模型 Vidu',
|
||||
|
||||
Reference in New Issue
Block a user