forked from baron/baron-sso
relationships 탭 i18n 누락 및 탭 순서 불일치
This commit is contained in:
@@ -1443,6 +1443,17 @@ cache_status = "Status"
|
||||
cache_uri = "JWKS URI"
|
||||
revoke_cache = "Revoke Cache"
|
||||
|
||||
[ui.dev.clients.relationships]
|
||||
title = "Client Relationships"
|
||||
add_title = "Add Relationship"
|
||||
relation = "Relation"
|
||||
user_id = "User ID"
|
||||
user_id_placeholder = "kratos user id"
|
||||
add = "Add"
|
||||
list_title = "Assigned Relationships"
|
||||
subject = "Subject"
|
||||
subject_type = "Type"
|
||||
|
||||
[ui.dev.clients.help]
|
||||
docs_body = "Includes PKCE, client_secret_basic, redirect URI validation tips."
|
||||
docs_title = "Docs & Examples"
|
||||
|
||||
@@ -1442,6 +1442,17 @@ cache_status = "상태"
|
||||
cache_uri = "JWKS URI"
|
||||
revoke_cache = "캐시 삭제"
|
||||
|
||||
[ui.dev.clients.relationships]
|
||||
title = "클라이언트 관계"
|
||||
add_title = "관계 추가"
|
||||
relation = "관계"
|
||||
user_id = "사용자 ID"
|
||||
user_id_placeholder = "kratos 사용자 id"
|
||||
add = "추가"
|
||||
list_title = "부여된 관계"
|
||||
subject = "주체"
|
||||
subject_type = "유형"
|
||||
|
||||
[ui.dev.clients.help]
|
||||
docs_body = "Includes PKCE, client_secret_basic, redirect URI validation tips."
|
||||
docs_title = "Docs & Examples"
|
||||
|
||||
@@ -1442,6 +1442,17 @@ cache_status = ""
|
||||
cache_uri = ""
|
||||
revoke_cache = ""
|
||||
|
||||
[ui.dev.clients.relationships]
|
||||
title = ""
|
||||
add_title = ""
|
||||
relation = ""
|
||||
user_id = ""
|
||||
user_id_placeholder = ""
|
||||
add = ""
|
||||
list_title = ""
|
||||
subject = ""
|
||||
subject_type = ""
|
||||
|
||||
[ui.dev.clients.help]
|
||||
docs_body = ""
|
||||
docs_title = ""
|
||||
|
||||
@@ -41,12 +41,18 @@ test.describe("DevFront relationships", () => {
|
||||
await installDevApiMock(page, state);
|
||||
|
||||
await page.goto("/clients/client-rel/relationships");
|
||||
await expect(page.getByText("Client Relationships")).toBeVisible();
|
||||
await expect(page.getByText("클라이언트 관계")).toBeVisible();
|
||||
await expect(
|
||||
page.getByRole("heading", { name: "관계 추가" }),
|
||||
).toBeVisible();
|
||||
await expect(
|
||||
page.getByRole("heading", { name: "부여된 관계" }),
|
||||
).toBeVisible();
|
||||
await expect(page.getByText("User:user-1")).toBeVisible();
|
||||
|
||||
await page.getByLabel(/Relation/i).selectOption("secret_rotator");
|
||||
await page.getByLabel(/User ID/i).fill("user-2");
|
||||
await page.getByRole("button", { name: /^Add$/i }).click();
|
||||
await page.getByLabel(/^관계$/).selectOption("secret_rotator");
|
||||
await page.getByLabel(/^사용자 ID$/).fill("user-2");
|
||||
await page.getByRole("button", { name: /^추가$/ }).click();
|
||||
|
||||
await expect(page.getByText("User:user-2")).toBeVisible();
|
||||
await expect.poll(() => state.relations["client-rel"]?.length ?? 0).toBe(2);
|
||||
|
||||
Reference in New Issue
Block a user