refine Semi UI account workspace

This commit is contained in:
lingniu
2026-07-18 03:22:35 +08:00
parent 91db15ebde
commit e39140c408
4 changed files with 672 additions and 10 deletions

View File

@@ -44,6 +44,9 @@ test('deduplicates vehicle candidates by VIN and renders granted vehicles plate
const view = render(<QueryClientProvider client={client}><UsersPage /></QueryClientProvider>);
const customer = await screen.findByRole('button', { name: /选择客户 华东客户/ });
expect(screen.getByLabelText('账号管理操作')).toHaveTextContent('客户访问治理');
expect(screen.getByLabelText('账号管理操作')).toHaveTextContent('变更最多 30 秒生效');
expect(view.container.querySelector('.v2-page-heading')).not.toBeInTheDocument();
expect(screen.getByRole('heading', { name: '账号范围', level: 5 })).toBeInTheDocument();
expect(screen.getByText('按客户名称、登录账号、客户标识与启停状态查找')).toBeInTheDocument();
expect(screen.getAllByText('1 / 1 个账号')).toHaveLength(2);