forked from baron/baron-sso
사용자 상태 세분화
This commit is contained in:
@@ -431,7 +431,7 @@ test.describe("User Management", () => {
|
||||
expect(exportUrl).toContain("includeIds=false");
|
||||
});
|
||||
|
||||
test("should show contact info in one row, hide roles, and toggle user status", async ({
|
||||
test("should show contact info in one row, hide roles, and change user status", async ({
|
||||
page,
|
||||
}) => {
|
||||
let updatePayload: Record<string, unknown> | undefined;
|
||||
@@ -446,7 +446,7 @@ test.describe("User Management", () => {
|
||||
email: "john@test.com",
|
||||
phone: "010-1111-2222",
|
||||
loginId: "johndoe",
|
||||
status: "inactive",
|
||||
status: "preboarding",
|
||||
createdAt: "2026-04-01T00:00:00Z",
|
||||
},
|
||||
});
|
||||
@@ -460,10 +460,11 @@ test.describe("User Management", () => {
|
||||
table.getByRole("columnheader", { name: /ROLE|역할/i }),
|
||||
).toBeVisible();
|
||||
|
||||
await page.getByTestId("user-status-toggle-u-1").click();
|
||||
await page.getByTestId("user-status-select-u-1").click();
|
||||
await page.getByRole("option", { name: /입사대기|Preboarding/ }).click();
|
||||
await expect
|
||||
.poll(() => updatePayload)
|
||||
.toMatchObject({ status: "inactive" });
|
||||
.toMatchObject({ status: "preboarding" });
|
||||
});
|
||||
|
||||
test("should expose internal user uuid in the users table", async ({
|
||||
|
||||
Reference in New Issue
Block a user