fix(web): activate contextual help and filter status

This commit is contained in:
lingniu
2026-07-16 07:33:55 +08:00
parent d1764b3d66
commit 25e8427882
5 changed files with 66 additions and 3 deletions

View File

@@ -93,6 +93,8 @@ test('starts without a selection and supports expand, collapse, reselection, and
expect(screen.queryByRole('button', { name: '取消选择车辆' })).not.toBeInTheDocument();
expect(screen.getByTestId('fleet-map')).toHaveAttribute('data-selected-vin', '');
expect(screen.getByText('有实时位置')).toBeInTheDocument();
expect(screen.getByRole('status', { name: '搜索和筛选条件修改后自动生效' })).toHaveTextContent('实时筛选');
expect(screen.queryByRole('button', { name: '筛选' })).not.toBeInTheDocument();
expect(screen.queryByText('接入车辆')).not.toBeInTheDocument();
fireEvent.click(firstVehicle);