收口大鱼关卡元信息标签
将大鱼吃小鱼关卡元信息迁移到 PlatformPillBadge 补充关卡元信息公共胶囊断言 更新 PlatformUiKit 文档和 Hermes 决策记录
This commit is contained in:
@@ -210,6 +210,14 @@ describe('BigFishResultView', () => {
|
||||
findNearestClassName(screen.getByText('荧潮幼体'), 'platform-subpanel')
|
||||
?.className,
|
||||
).toContain('rounded-[1.5rem]');
|
||||
for (const label of ['猎物 1', '威胁 2', '主图 已生成']) {
|
||||
const badge = screen.getByText(label);
|
||||
|
||||
expect(badge.className).toContain('rounded-full');
|
||||
expect(badge.className).toContain(
|
||||
'bg-[var(--platform-subpanel-fill)]',
|
||||
);
|
||||
}
|
||||
expect(
|
||||
findNearestClassName(screen.getByText('场地背景'), 'platform-subpanel')
|
||||
?.className,
|
||||
|
||||
Reference in New Issue
Block a user