refine Semi UI mobile vehicle grants
This commit is contained in:
@@ -249,6 +249,8 @@ test('keeps granted vehicles primary and reveals mobile assignment tools on dema
|
||||
expect(screen.queryByRole('textbox', { name: '按车牌或 VIN 搜索' })).not.toBeInTheDocument();
|
||||
expect(screen.getAllByRole('button', { name: /^移除 / })).toHaveLength(4);
|
||||
expect(screen.getByText('第 1–4 条,共 5 辆')).toBeInTheDocument();
|
||||
expect(document.querySelectorAll('.v2-assigned-vehicle-card.is-mobile-compact')).toHaveLength(4);
|
||||
expect(document.querySelector('.v2-assigned-vehicle-interval')).toHaveAttribute('aria-label', '授权有效期:启用 2026-06-05 00:00;停用 持续有效');
|
||||
expect(document.querySelector('.v2-user-editor-last-login')).toHaveTextContent('最近登录');
|
||||
|
||||
fireEvent.click(toggle);
|
||||
|
||||
Reference in New Issue
Block a user