feat(platform): add map status filter strip
This commit is contained in:
@@ -10870,6 +10870,12 @@ test('shows realtime freshness status for recently updated and stale vehicles',
|
||||
expect(screen.getByRole('button', { name: '车辆服务地图任务 历史查询 JT808' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '车辆服务地图任务 告警通知 1 关注' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '车辆服务地图任务 统计导出 2 辆' })).toBeInTheDocument();
|
||||
expect(screen.getByText('地图状态筛选条')).toBeInTheDocument();
|
||||
expect(screen.getByText('先按客户最关心的在线、离线、无坐标和需关注分组看车,再进入轨迹、统计、导出或告警。')).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '地图状态筛选条 在线车辆 1 在线' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '地图状态筛选条 离线车辆 1 离线' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '地图状态筛选条 无坐标车辆 0 无坐标' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '地图状态筛选条 需关注车辆 1 关注' })).toBeInTheDocument();
|
||||
expect(screen.getAllByText('数据新鲜').length).toBeGreaterThan(0);
|
||||
expect(screen.getAllByText('更新超时').length).toBeGreaterThan(0);
|
||||
expect(screen.getByText('车辆服务闭环')).toBeInTheDocument();
|
||||
|
||||
Reference in New Issue
Block a user