forked from baron/baron-sso
adminfront/devfront E2E 및 lint 실패 수정
This commit is contained in:
@@ -5,8 +5,8 @@ import {
|
||||
deleteOrphanUserLoginIDs,
|
||||
fetchDataIntegrityReport,
|
||||
fetchMe,
|
||||
fetchOrySSOTSystemStatus,
|
||||
fetchOrphanUserLoginIDs,
|
||||
fetchOrySSOTSystemStatus,
|
||||
flushIdentityCache,
|
||||
} from "../../lib/adminApi";
|
||||
import { expectNoAnonymousFormFields } from "../../test/formFieldDiagnostics";
|
||||
|
||||
@@ -738,6 +738,10 @@ test.describe("Worksmobile tenant management", () => {
|
||||
.getByRole("button", { name: "선택 구성원 WORKS에 생성" })
|
||||
.click();
|
||||
|
||||
await expect(page.getByText("WORKS 초기 비밀번호")).toBeVisible();
|
||||
await page.getByLabel("초기 비밀번호").fill("InitPass123!");
|
||||
await page.getByRole("button", { name: "생성 작업 등록" }).click();
|
||||
|
||||
await expect(page.getByText("WORKS 생성 작업 등록 실패")).toBeVisible();
|
||||
await expect(
|
||||
page.getByText(/WORKS API rejected user creation/),
|
||||
|
||||
@@ -49,7 +49,12 @@ test.describe("DevFront developer request and management", () => {
|
||||
await page.locator("#reason").fill("Need to test OIDC integration");
|
||||
|
||||
// Submit
|
||||
await page.getByRole("button", { name: "신청하기", exact: true }).click();
|
||||
const submitBtn = page.getByRole("button", {
|
||||
name: "신청하기",
|
||||
exact: true,
|
||||
});
|
||||
await submitBtn.scrollIntoViewIfNeeded();
|
||||
await submitBtn.click();
|
||||
|
||||
// Verify Status - Look for "Pending" or "대기" anywhere
|
||||
await expect(page.locator("body")).toContainText(/대기|Pending/);
|
||||
|
||||
@@ -119,7 +119,14 @@ test.describe("DevFront security and isolation", () => {
|
||||
|
||||
await page.goto("/clients");
|
||||
await expect(
|
||||
page.getByText(/RP 관리자는|RP administrators can only access/i),
|
||||
page.getByText(
|
||||
/연동 앱 목록 접근 권한 없음|Access denied: Connected Applications/i,
|
||||
),
|
||||
).toBeVisible();
|
||||
await expect(
|
||||
page.getByText(
|
||||
/일반 사용자 계정은 담당 RP\(앱\)에 대한 운영 또는 관리 관계가 부여된 경우에만 해당 기능을 사용할 수 있습니다|Standard user accounts can use this feature only when an operational or administrative relationship is granted for the target application/i,
|
||||
),
|
||||
).toBeVisible();
|
||||
});
|
||||
|
||||
@@ -148,7 +155,12 @@ test.describe("DevFront security and isolation", () => {
|
||||
|
||||
await page.goto("/audit-logs");
|
||||
await expect(
|
||||
page.getByText(/테넌트 관리자 권한|Tenant administrator permissions/i),
|
||||
page.getByText(/감사 로그 접근 권한 없음|Access denied: Audit Logs/i),
|
||||
).toBeVisible();
|
||||
await expect(
|
||||
page.getByText(
|
||||
/해당 앱\(RP\)에 대한 감사 로그 조회는 운영 또는 감사 조회 관계가 부여된 경우에만 사용할 수 있습니다|Viewing audit logs for this application requires an audit read relationship/i,
|
||||
),
|
||||
).toBeVisible();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user