fix(e2e): open Users section before create-user in docrev UI-00

This commit is contained in:
WeiCHEN
2026-09-22 22:29:52 +08:00
parent 2e45a649c5
commit 61a0623bf8
@@ -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 });
}