继续收口编辑器空态与暗色动作按钮
视觉小说实体列表空态复用 PlatformEmptyState 角色素材工作室局部按钮改为委托 PlatformActionButton RPG大编辑器局部按钮改为委托 PlatformActionButton 更新 PlatformUiKit 收口文档与团队决策记录
This commit is contained in:
@@ -1055,7 +1055,11 @@ test('基本设定面板只编辑六个角色维度名称', async () => {
|
||||
expect(screen.queryByLabelText('正向信号')).toBeNull();
|
||||
expect(screen.queryByLabelText('战斗体现')).toBeNull();
|
||||
|
||||
await user.click(screen.getByRole('button', { name: /保存修改/u }));
|
||||
const saveButton = screen.getByRole('button', { name: /保存修改/u });
|
||||
expect(saveButton.className).toContain('platform-action-button--editor-dark');
|
||||
expect(saveButton.className).toContain('rounded-full');
|
||||
|
||||
await user.click(saveButton);
|
||||
|
||||
expect(savedProfileRef.current?.attributeSchema.slots[0]?.name).toBe('潮骨');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user