fix(e2e): open Users section before create-user in docrev UI-00
This commit is contained in:
@@ -226,6 +226,9 @@ async function openAdminConsole(page: Page) {
|
||||
fail(`admin button not visible. Left rail content: ${leftRailText}`);
|
||||
}
|
||||
await btn.click();
|
||||
// Console defaults to 系统运行总览; user provisioning lives under 用户与准入治理.
|
||||
await expect(page.getByRole('button', { name: '用户与准入治理' })).toBeVisible({ timeout: 15_000 });
|
||||
await page.getByRole('button', { name: '用户与准入治理' }).click();
|
||||
await expect(page.getByRole('button', { name: '开通受控员工账号' })).toBeVisible({ timeout: 15_000 });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user