feat(platform): add customer alert action queue
This commit is contained in:
@@ -5044,6 +5044,12 @@ test('shows alert rule and notification policy workspace on quality page', async
|
||||
expect(screen.getByRole('button', { name: '客户告警闭环时间线 5 恢复验收 有标准 复制回执' })).toBeInTheDocument();
|
||||
expect(screen.getByText('客户告警闭环台')).toBeInTheDocument();
|
||||
expect(screen.getByText('先判断影响车辆,再通知责任人,随后打开实时、轨迹、原始记录完成处置,最后按恢复标准验收。')).toBeInTheDocument();
|
||||
expect(screen.getByText('今日客户处置队列')).toBeInTheDocument();
|
||||
expect(screen.getByText('把待通知车辆压缩成客户能执行的首要动作:先处理 P0 焦点车,再按 SLA 升级、证据复核和恢复验收闭环。')).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '今日客户处置队列 首要车辆 暂无待处置 车辆服务' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '今日客户处置队列 SLA状态 暂无 复制交接' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '今日客户处置队列 通知对象 接入运维 + 业务责任人 通知闭环' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '今日客户处置队列 恢复验收 有标准 复制回执' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '客户告警闭环台 1 影响车辆 3 辆' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '客户告警闭环台 2 通知升级 P0 实时中断' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '客户告警闭环台 3 处置证据 实时/轨迹/原始记录' })).toBeInTheDocument();
|
||||
@@ -5227,6 +5233,12 @@ test('shows actionable priority queue on quality page', async () => {
|
||||
render(<App />);
|
||||
|
||||
expect(await screen.findByText('处置优先队列')).toBeInTheDocument();
|
||||
expect(screen.getByText('今日客户处置队列')).toBeInTheDocument();
|
||||
expect(screen.getByText('把待通知车辆压缩成客户能执行的首要动作:先处理 P0 焦点车,再按 SLA 升级、证据复核和恢复验收闭环。')).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '今日客户处置队列 首要车辆 粤A优先1 / VIN-P0-001 车辆服务' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: /今日客户处置队列 SLA状态 .* 复制交接/ })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '今日客户处置队列 通知对象 接入运维 + 业务责任人 通知闭环' })).toBeInTheDocument();
|
||||
expect(screen.getByRole('button', { name: '今日客户处置队列 恢复验收 有标准 复制回执' })).toBeInTheDocument();
|
||||
expect(screen.getByText('车辆风险处置任务板')).toBeInTheDocument();
|
||||
expect(screen.getAllByText('粤A优先1 / VIN-P0-001').length).toBeGreaterThan(0);
|
||||
expect(screen.getAllByText('实时确认').length).toBeGreaterThan(0);
|
||||
@@ -6686,7 +6698,7 @@ test('quality page surfaces escalation clock for priority issues', async () => {
|
||||
render(<App />);
|
||||
|
||||
expect(await screen.findByText('告警升级时钟')).toBeInTheDocument();
|
||||
expect(await screen.findByText('超 SLA')).toBeInTheDocument();
|
||||
await waitFor(() => expect(screen.getAllByText('超 SLA').length).toBeGreaterThan(0));
|
||||
expect(screen.getByText('SLA 正常')).toBeInTheDocument();
|
||||
expect(screen.getByText('VIN-QUALITY-OVERDUE')).toBeInTheDocument();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user