feat(platform): show source slots on vehicle detail

This commit is contained in:
lingniu
2026-07-04 07:44:23 +08:00
parent 999d36c94d
commit 36b75b4c0e
2 changed files with 8 additions and 1 deletions

View File

@@ -3450,6 +3450,9 @@ test('switches vehicle detail to a source from the source matrix', async () => {
render(<App />);
expect(await screen.findByText('VIN001')).toBeInTheDocument();
expect(screen.getAllByText('GB32960 在线').length).toBeGreaterThanOrEqual(1);
expect(screen.getAllByText('JT808 在线').length).toBeGreaterThanOrEqual(1);
expect(screen.getAllByText('YUTONG_MQTT 未接入').length).toBeGreaterThanOrEqual(1);
expect(screen.getByText('车辆服务角色')).toBeInTheDocument();
expect(screen.getByText('主来源')).toBeInTheDocument();
expect(screen.getByText('在线证据')).toBeInTheDocument();