feat(platform): add alert escalation checklist
This commit is contained in:
@@ -3459,6 +3459,16 @@ test('renders notification rules as a standalone operations page', async () => {
|
||||
fireEvent.click(screen.getByRole('button', { name: '复制待通知汇总' }));
|
||||
expect(writeText).toHaveBeenCalledWith(expect.stringContaining('【当前待通知告警】'));
|
||||
expect(writeText).toHaveBeenCalledWith(expect.stringContaining('粤A规则1 / VIN-RULES-001'));
|
||||
fireEvent.click(screen.getByRole('button', { name: '复制升级值班清单' }));
|
||||
expect(writeText).toHaveBeenCalledWith(expect.stringContaining('【告警升级值班清单】'));
|
||||
expect(writeText).toHaveBeenCalledWith(expect.stringContaining('值班结论:P0 1 条,需要立即确认'));
|
||||
expect(writeText).toHaveBeenCalledWith(expect.stringContaining('主通知策略:P0 实时中断 / 接入运维 + 业务责任人 / 邮件 / 企业微信'));
|
||||
expect(writeText).toHaveBeenCalledWith(expect.stringContaining('升级窗口:30 分钟升级'));
|
||||
expect(writeText).toHaveBeenCalledWith(expect.stringContaining('1. [P0] 无来源规则 / 平台接入 / 命中 3 / SLA 30 分钟确认'));
|
||||
expect(writeText).toHaveBeenCalledWith(expect.stringContaining('建议动作:确认平台转发 - 核对平台转发配置'));
|
||||
expect(writeText).toHaveBeenCalledWith(expect.stringContaining('车辆服务:http://localhost:3000/#/detail?keyword=VIN-RULES-001'));
|
||||
expect(writeText).toHaveBeenCalledWith(expect.stringContaining('RAW证据:http://localhost:3000/#/history-query?keyword=VIN-RULES-001&tab=raw'));
|
||||
expect(writeText).toHaveBeenCalledWith(expect.stringContaining('超过升级窗口未恢复时'));
|
||||
fireEvent.click(screen.getByRole('button', { name: '复制单条告警通知' }));
|
||||
expect(writeText).toHaveBeenCalledWith('【P0 告警通知】通知规则页待通知');
|
||||
fireEvent.click(screen.getByRole('button', { name: '车辆服务' }));
|
||||
|
||||
Reference in New Issue
Block a user