feat(platform): summarize vehicle service verdict

This commit is contained in:
lingniu
2026-07-04 10:21:34 +08:00
parent e0de4b353a
commit 295a7df396
3 changed files with 104 additions and 0 deletions

View File

@@ -5534,6 +5534,10 @@ test('shows actionable vehicle service recommendations on detail', async () => {
render(<App />);
expect(await screen.findByText('车辆服务结论')).toBeInTheDocument();
expect(screen.getByText('降级可服务')).toBeInTheDocument();
expect(screen.getByText('3 项质量问题影响可信度')).toBeInTheDocument();
expect(screen.getByText('先处理质量问题,再将该车用于 BI、告警或对外查询。')).toBeInTheDocument();
expect(await screen.findByText('服务处置建议')).toBeInTheDocument();
expect(screen.getByRole('button', { name: '补齐 YUTONG_MQTT 来源' })).toBeInTheDocument();
expect(screen.getByRole('button', { name: '处理质量问题 3 项' })).toBeInTheDocument();