继续扩展共享可导航行
扩展 PlatformNavigableListItem 接入 profile 设置行 补充 profile 设置行的组件级与首页集成回归测试 更新 PlatformUiKit 收口计划与共享决策记录
This commit is contained in:
@@ -72,7 +72,10 @@ describe('PlatformProfilePrimitives', () => {
|
||||
</>,
|
||||
);
|
||||
|
||||
await user.click(screen.getByRole('button', { name: /通用设置/u }));
|
||||
const settingsButton = screen.getByRole('button', { name: /通用设置/u });
|
||||
expect(settingsButton.className).toContain('platform-navigable-list-item');
|
||||
|
||||
await user.click(settingsButton);
|
||||
expect(onSettingsClick).toHaveBeenCalledTimes(1);
|
||||
|
||||
await user.click(
|
||||
|
||||
Reference in New Issue
Block a user