feat: refine global shell for mobile landscape

This commit is contained in:
lingniu
2026-07-19 04:29:58 +08:00
parent 712721bc73
commit d3eb77e2c7
4 changed files with 420 additions and 5 deletions

View File

@@ -187,6 +187,10 @@ test('uses the compact mobile navigation and opens secondary modules in a Semi S
const moreSheet = screen.getByRole('dialog', { name: '更多功能' });
expect(moreSheet).toHaveTextContent('数据分析与系统管理');
expect(screen.getByRole('navigation', { name: '分析与处置' })).toBeInTheDocument();
expect(screen.getByRole('navigation', { name: '平台治理' })).toBeInTheDocument();
expect(moreSheet).toHaveTextContent('历史证据与业务告警');
expect(moreSheet).toHaveTextContent('接入、账号与运维质量');
expect(screen.getByRole('link', { name: '历史数据' })).toBeInTheDocument();
expect(screen.getByRole('link', { name: '告警中心' })).toBeInTheDocument();
expect(screen.getByRole('link', { name: '接入管理' })).toBeInTheDocument();