收口玩过作品面板弹窗壳层

RpgEntryHomeView 的 ProfilePlayedWorksModal 改用 UnifiedModal 并保留可继续与玩过双分区语义
更新玩过作品面板与 FlowShell 交互测试的具名 dialog 断言
同步 PlatformUiKit 收口计划与 .hermes 决策记录
This commit is contained in:
2026-06-10 17:38:59 +08:00
parent f5536a14e6
commit fdc3b5f440
5 changed files with 145 additions and 126 deletions

View File

@@ -2790,9 +2790,11 @@ test('profile played modal summary and work type use platform pill badges', asyn
await user.click(screen.getByRole('button', { name: //u }));
const playedModal = screen
.getByText('潮雾列岛')
.closest('.fixed') as HTMLElement;
const playedModal = await screen.findByRole('dialog', { name: '玩过' });
expect(
within(playedModal).getByRole('button', { name: '关闭玩过' }),
).toBeTruthy();
const playedSectionLabel = within(playedModal)
.getAllByText('玩过')
.find((element) => element.className.includes('tracking-[0.18em]'));