refine Semi UI vehicle evidence
This commit is contained in:
@@ -161,10 +161,10 @@ test('merges duplicate vehicle sources and keeps the active date shortcut visibl
|
||||
const search = screen.getByRole('textbox', { name: '搜索轨迹车辆' });
|
||||
fireEvent.focus(search);
|
||||
fireEvent.change(search, { target: { value: '粤A12345' } });
|
||||
const option = await screen.findByRole('option', { name: '粤A12345 LTEST000000000001 JT808 GB32960 选择' });
|
||||
const option = await screen.findByRole('option', { name: '粤A12345 LTEST000000000001 JT/T 808 GB/T 32960 选择' });
|
||||
|
||||
expect(document.querySelectorAll('.v2-track-vehicle-options [role="option"]')).toHaveLength(1);
|
||||
expect(option).toHaveTextContent('粤A12345LTEST000000000001JT808GB32960选择');
|
||||
expect(option).toHaveTextContent('粤A12345LTEST000000000001JT/T 808GB/T 32960选择');
|
||||
});
|
||||
|
||||
test('renders a map-first replay workspace and connects stop, event, and panel interactions', async () => {
|
||||
|
||||
Reference in New Issue
Block a user