feat(platform): separate internal evidence navigation

This commit is contained in:
lingniu
2026-07-06 00:18:08 +08:00
parent 79207d5096
commit cca574d5eb
3 changed files with 158 additions and 1 deletions

View File

@@ -49,6 +49,10 @@ test('renders vehicle platform shell', () => {
expect(screen.getAllByText('客户').length).toBeGreaterThanOrEqual(3);
expect(screen.getByText('内部')).toBeInTheDocument();
expect(screen.getByText('客户主流程外查看链路质量')).toBeInTheDocument();
expect(screen.getByText('内部证据区')).toBeInTheDocument();
expect(screen.getByText('运维证据只在客户问题需要解释时展开,不作为客户默认入口。')).toBeInTheDocument();
expect(screen.getByRole('button', { name: '展开内部证据区' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '内部证据区 运维质量' })).toBeInTheDocument();
expect(screen.getAllByText('运营总览').length).toBeGreaterThanOrEqual(1);
expect(getComputedStyle(document.body).minWidth).not.toBe('1280px');
});