feat(platform): add realtime service overview
This commit is contained in:
@@ -10445,6 +10445,16 @@ test('realtime page prioritizes customer vehicle monitoring command center', asy
|
||||
|
||||
render(<App />);
|
||||
|
||||
expect(await screen.findByText('实时车辆服务总览')).toBeInTheDocument();
|
||||
expect(screen.getByText('客户先看车辆是否在线、地图是否可见、哪些车辆需要处置,再进入轨迹、统计、导出和告警。')).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '实时车辆服务总览 在线车辆 2 在线' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '实时车辆服务总览 有效定位 1 辆' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '实时车辆服务总览 需关注 1 辆' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '实时车辆服务总览 地图能力 高德可用' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '实时服务动作 打开地图 地图态势' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '实时服务动作 轨迹复盘 轨迹回放' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '实时服务动作 导出清单 导出CSV' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '实时服务动作 告警通知 关注车辆' })).toBeInTheDocument();
|
||||
expect(await screen.findByText('客户实时监控总控台')).toBeInTheDocument();
|
||||
expect(screen.getByText('实时页先回答客户能不能看到车、车辆在哪里、哪些车辆异常,再进入轨迹、统计、导出和告警。')).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '客户实时监控总控台 实时地图 1 有定位 打开地图' })).toBeInTheDocument();
|
||||
|
||||
Reference in New Issue
Block a user