1
0
forked from baron/baron-sso

relationships 탭 i18n 누락 및 탭 순서 불일치

This commit is contained in:
2026-04-15 17:43:20 +09:00
parent 034789b8cb
commit f494d8e50a
4 changed files with 43 additions and 4 deletions

View File

@@ -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);