feat(platform): add trip review summary
This commit is contained in:
@@ -6284,6 +6284,17 @@ test('copies trajectory playback summary from history page', async () => {
|
||||
expect(screen.getByRole('button', { name: '客户时间窗证据链 历史导出 明细证据' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '客户时间窗证据链 字段裁剪 字段导出' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '客户时间窗证据链 告警复盘 告警事件' })).toBeInTheDocument();
|
||||
expect(screen.getByText('行程复盘摘要')).toBeInTheDocument();
|
||||
expect(screen.getByText('把客户最关心的起止时间、路线跨度、里程差、最高速度和异常提示放在轨迹前面。')).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '行程复盘摘要 起点 2026-07-03 10:00:00' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '行程复盘摘要 终点 2026-07-03 11:00:00' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '行程复盘摘要 行程里程 22.6 km' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '行程复盘摘要 最高速度 58.8 km/h' })).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: '行程复盘动作 告警复盘 告警事件' })).toBeInTheDocument();
|
||||
expect(screen.getByText('按车辆和时间窗复盘每一段行程')).toBeInTheDocument();
|
||||
expect(screen.getByText('客户需要看到路线、起止时间、里程变化、速度异常和可导出的证据。明细证据和字段裁剪只作为轨迹复盘的依据。')).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '轨迹回放指标 轨迹点 2' })).toBeInTheDocument();
|
||||
@@ -7908,10 +7919,10 @@ test('shows trajectory playback workspace from history locations', async () => {
|
||||
expect(screen.getByText('2 个有效轨迹点')).toBeInTheDocument();
|
||||
expect(screen.getByText('区间里程')).toBeInTheDocument();
|
||||
expect(screen.getAllByText('12.4 km').length).toBeGreaterThan(0);
|
||||
expect(screen.getByText('最高速度')).toBeInTheDocument();
|
||||
expect(screen.getByText('42 km/h')).toBeInTheDocument();
|
||||
expect(screen.getByText('起点')).toBeInTheDocument();
|
||||
expect(screen.getByText('终点')).toBeInTheDocument();
|
||||
expect(screen.getAllByText('最高速度').length).toBeGreaterThan(0);
|
||||
expect(screen.getAllByText('42 km/h').length).toBeGreaterThan(0);
|
||||
expect(screen.getAllByText('起点').length).toBeGreaterThan(0);
|
||||
expect(screen.getAllByText('终点').length).toBeGreaterThan(0);
|
||||
});
|
||||
|
||||
test('shows trajectory evidence quality on history playback workspace', async () => {
|
||||
|
||||
Reference in New Issue
Block a user