feat(platform): add customer task navigation
This commit is contained in:
@@ -26,7 +26,7 @@ test('renders vehicle platform shell', () => {
|
||||
expect(screen.getByText('地图看车、在线监控、异常优先')).toBeInTheDocument();
|
||||
expect(screen.getAllByText('车辆服务').length).toBeGreaterThanOrEqual(1);
|
||||
expect(screen.getByText('按 VIN、车牌、手机号管理车辆')).toBeInTheDocument();
|
||||
expect(screen.getByText('轨迹统计')).toBeInTheDocument();
|
||||
expect(screen.getAllByText('轨迹统计').length).toBeGreaterThanOrEqual(1);
|
||||
expect(screen.getByText('回放轨迹、统计查询、导出数据')).toBeInTheDocument();
|
||||
expect(screen.getAllByText('告警通知').length).toBeGreaterThanOrEqual(1);
|
||||
expect(screen.getByText('接入运维')).toBeInTheDocument();
|
||||
@@ -802,6 +802,11 @@ test('dashboard exposes vehicle data center capability matrix', async () => {
|
||||
expect(screen.getByText('客户主流程围绕车辆本身:地图看车、实时状态、时间窗复盘、统计查询、历史数据导出和告警通知。接入来源只作为追溯证据。')).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '车辆监控指标 车辆总数 1,033' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '车辆监控指标 在线车辆 208' })).toBeInTheDocument();
|
||||
expect(screen.getByText('客户任务导航')).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '客户任务导航 看车在哪 实时地图' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '客户任务导航 查这段时间 轨迹统计' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '客户任务导航 导出数据 历史导出' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '客户任务导航 处理告警 告警事件' })).toBeInTheDocument();
|
||||
expect(screen.getByText('今日先处理')).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '车辆运营建议 先处理告警车辆 进入告警' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '车辆运营建议 选择一辆车复盘 车辆中心' })).toBeInTheDocument();
|
||||
|
||||
Reference in New Issue
Block a user