refine Semi UI track replay summary
This commit is contained in:
@@ -227,7 +227,9 @@ test('renders a map-first replay workspace and connects stop, event, and panel i
|
||||
expect(screen.queryByRole('textbox', { name: '搜索轨迹车辆' })).not.toBeInTheDocument();
|
||||
|
||||
fireEvent.click(screen.getByRole('button', { name: '隐藏查询与明细' }));
|
||||
expect(screen.getByRole('button', { name: '打开轨迹详情' })).toBeInTheDocument();
|
||||
const expandRail = screen.getByRole('button', { name: '打开轨迹详情' });
|
||||
expect(expandRail).toBeInTheDocument();
|
||||
expect(expandRail).toHaveTextContent('轨迹详情8 km · 1 个停留');
|
||||
fireEvent.click(screen.getByRole('button', { name: '打开轨迹详情' }));
|
||||
expect(screen.getByRole('button', { name: '隐藏查询与明细' })).toBeInTheDocument();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user