feat: unify global action workbenches
This commit is contained in:
@@ -552,7 +552,7 @@ test('uses compact Semi telemetry evidence cards on mobile', async () => {
|
||||
expect(moreActions).toHaveAttribute('aria-expanded', 'false');
|
||||
fireEvent.click(moreActions);
|
||||
expect(await screen.findByRole('dialog', { name: '更多车辆操作' })).toBeVisible();
|
||||
expect(document.querySelector('.v2-vehicle-mobile-actions-sidesheet')).toHaveClass('semi-sidesheet-bottom');
|
||||
expect(document.querySelector('.v2-vehicle-mobile-actions-sidesheet')).toHaveClass('v2-workspace-action-sidesheet', 'semi-sidesheet-bottom');
|
||||
expect(screen.getByRole('button', { name: '历史数据' })).toBeVisible();
|
||||
expect(screen.getByRole('button', { name: '里程查询' })).toBeVisible();
|
||||
expect(screen.getByRole('button', { name: '告警事件' })).toBeVisible();
|
||||
|
||||
Reference in New Issue
Block a user