feat(platform): add realtime customer question flow

This commit is contained in:
lingniu
2026-07-05 16:05:12 +08:00
parent 0f6b47e97e
commit 06bfe79851
3 changed files with 155 additions and 1 deletions

View File

@@ -9193,6 +9193,12 @@ test('frames realtime page as one vehicle service with source evidence', async (
expect(screen.getAllByText('高德地图待配置').length).toBeGreaterThan(0);
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.getByRole('button', { name: '实时客户常问 为什么状态异常? 异常清单' })).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();
@@ -9210,7 +9216,7 @@ test('frames realtime page as one vehicle service with source evidence', async (
expect(screen.getAllByText('2/2 通道在线').length).toBeGreaterThan(0);
expect(screen.getByText('实时运营影响')).toBeInTheDocument();
expect(screen.getByRole('button', { name: /复制影响报告/ })).toBeInTheDocument();
expect(screen.getByText('需要处置')).toBeInTheDocument();
expect(screen.getAllByText('需要处置').length).toBeGreaterThan(0);
expect(screen.getByText('车辆范围')).toBeInTheDocument();
expect(screen.getByText('在线影响')).toBeInTheDocument();
expect(screen.getByText('定位影响')).toBeInTheDocument();