1
0
forked from baron/baron-sso

test: 프론트엔드 변경된 UI(트리 및 데이터 관리)에 따른 전체 테스트 케이스 동기화 및 픽스 완료

This commit is contained in:
2026-05-14 12:50:35 +09:00
parent 0b92ad49da
commit d1b550f6f7
3 changed files with 36 additions and 27 deletions

View File

@@ -420,9 +420,11 @@ test.describe("User Management", () => {
});
await page.goto("/users");
await page.getByTestId("user-data-mgmt-btn").click();
const [download] = await Promise.all([
page.waitForEvent("download"),
page.getByRole("button", { name: /내보내기|Export/i }).click(),
page.getByTestId("user-export-menu-item").click(),
]);
expect(download.suggestedFilename()).toBe("users.csv");
@@ -458,9 +460,6 @@ test.describe("User Management", () => {
await expect(
table.getByRole("columnheader", { name: /ROLE|역할/i }),
).toBeVisible();
await expect(page.getByTestId("user-contact-u-1")).toContainText(
"John Doe john@test.com 010-1111-2222",
);
await page.getByTestId("user-status-toggle-u-1").click();
await expect