feat(platform): show source slots on vehicle detail
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user