feat(platform): link realtime table map selection
This commit is contained in:
@@ -8329,6 +8329,12 @@ test('selects realtime map vehicle from fallback map point', async () => {
|
||||
expect(within(selectedPanel as HTMLElement).getByText('粤A选中2')).toBeInTheDocument();
|
||||
});
|
||||
expect(within(selectedPanel as HTMLElement).getByText('42 km/h')).toBeInTheDocument();
|
||||
|
||||
const locateButtons = screen.getAllByRole('button', { name: '地图定位' });
|
||||
fireEvent.click(locateButtons[0]);
|
||||
expect(within(selectedPanel as HTMLElement).getByText('粤A选中1')).toBeInTheDocument();
|
||||
fireEvent.click(locateButtons[1]);
|
||||
expect(within(selectedPanel as HTMLElement).getByText('粤A选中2')).toBeInTheDocument();
|
||||
});
|
||||
|
||||
test('opens vehicle service from realtime map service queue', async () => {
|
||||
|
||||
Reference in New Issue
Block a user