feat(platform): summarize vehicle service verdict
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user