feat(platform): add map situation workspace
This commit is contained in:
@@ -80,6 +80,10 @@ test('exposes AMap operations shortcuts when map key is configured', async () =>
|
||||
|
||||
expect(await screen.findByText('地图就绪')).toBeInTheDocument();
|
||||
expect(screen.getByText('版本 platform-20260704153357')).toBeInTheDocument();
|
||||
fireEvent.click(screen.getByRole('button', { name: '顶部地图态势' }));
|
||||
expect(window.location.hash).toBe('#/map');
|
||||
expect(await screen.findByRole('heading', { name: '地图态势' })).toBeInTheDocument();
|
||||
expect(screen.getByText('地图车辆服务队列')).toBeInTheDocument();
|
||||
fireEvent.click(screen.getByRole('button', { name: '顶部实时监控' }));
|
||||
expect(window.location.hash).toBe('#/realtime');
|
||||
fireEvent.click(screen.getByRole('button', { name: '顶部轨迹回放' }));
|
||||
|
||||
Reference in New Issue
Block a user