forked from baron/baron-sso
adminfront/devfront E2E 및 lint 실패 수정
This commit is contained in:
@@ -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