收口创作代理聊天面板组件

creation-agent 工作台聊天区外壳改用 PlatformSubpanel

工作台测试断言消息列表接入公共子面板外壳

补充 PlatformUiKit 收口文档和 Hermes 决策记录
This commit is contained in:
2026-06-10 12:50:47 +08:00
parent 979ab10ea2
commit 3f7748983c
4 changed files with 16 additions and 2 deletions

View File

@@ -85,6 +85,11 @@ test('creation agent workspace keeps initial chat progress at zero percent', ()
'creation-agent-progress-label',
);
expect(progressbar.className).toContain('platform-progress-track');
expect(
screen
.getByTestId('creation-agent-message-list')
.closest('.platform-subpanel')?.className,
).toContain('rounded-[1.5rem]');
expect(
(progressbar.firstElementChild as HTMLElement | null)?.style.width,
).toBe('0%');