refactor(ui): converge semi access workspace
This commit is contained in:
@@ -59,7 +59,7 @@ test('removes old access rows immediately when the vehicle filter scope changes'
|
||||
expect(screen.getByRole('navigation', { name: '接入差异筛选' })).toHaveClass('v2-access-status-tabs');
|
||||
const accessMetrics = screen.getByRole('list', { name: '接入差异概览' });
|
||||
expect(accessMetrics.closest('.v2-access-metric-rail')).toHaveClass('semi-card', 'is-queue');
|
||||
expect(within(accessMetrics).getAllByRole('listitem')).toHaveLength(4);
|
||||
expect(within(accessMetrics).getAllByRole('listitem')).toHaveLength(2);
|
||||
expect(within(accessMetrics).getByRole('button', { name: '筛选需关注,共 0 辆' })).toHaveClass('v2-workspace-metric-action');
|
||||
expect(within(accessMetrics).getByRole('button', { name: '筛选全部车辆,共 2 辆' })).toHaveAttribute('aria-pressed', 'true');
|
||||
const protocolCoverage = screen.getByLabelText('真实协议来源概览');
|
||||
|
||||
Reference in New Issue
Block a user