feat(platform): add customer alert closure board

This commit is contained in:
lingniu
2026-07-05 04:42:20 +08:00
parent 36dbc26ea7
commit bb6f577141
3 changed files with 177 additions and 1 deletions

View File

@@ -4006,6 +4006,14 @@ test('renders notification rules as a standalone operations page', async () => {
render(<App />);
expect(await screen.findByRole('heading', { name: '通知规则' })).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: '客户告警闭环 超时升级 SLA报告' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '客户告警闭环 验收恢复 运行手册' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '复制值班清单' })).toBeInTheDocument();
expect(screen.getByText('无来源规则')).toBeInTheDocument();
expect(screen.getByText('车辆无任何来源证据')).toBeInTheDocument();
expect(screen.getAllByText('P0 实时中断').length).toBeGreaterThan(0);
@@ -4027,7 +4035,7 @@ test('renders notification rules as a standalone operations page', async () => {
expect(screen.getAllByText('粤A规则1 / VIN-RULES-001').length).toBeGreaterThan(0);
expect(screen.getByText('确认平台转发')).toBeInTheDocument();
expect(screen.getByText('通知规则页待通知告警')).toBeInTheDocument();
expect(screen.getByText('platform-rules-test')).toBeInTheDocument();
expect(screen.getAllByText('platform-rules-test').length).toBeGreaterThan(0);
expect(screen.getByText('通知覆盖与升级风险')).toBeInTheDocument();
expect(screen.getByText('责任覆盖')).toBeInTheDocument();
expect(screen.getByText('活跃命中')).toBeInTheDocument();