1
0
forked from baron/baron-sso

onsent 시간대 검증과 RP claim 플레이그라이트 기대값 정리

This commit is contained in:
2026-06-11 16:35:25 +09:00
parent 79845d2b6a
commit 5ac72be6b1
2 changed files with 28 additions and 5 deletions

View File

@@ -360,8 +360,19 @@ test.describe("DevFront RP claim cache", () => {
await defaultValueInput.fill("3.14");
await expect(defaultValueInput).toHaveAttribute("aria-invalid", "true");
await expect(
page.getByRole("button", { name: /^저장$|^Save$/i }),
).toBeDisabled();
await page.getByRole("button", { name: /^저장$|^Save$/i }).click();
await expect
.poll(
() =>
(
state.clients[0]?.metadata?.id_token_claims as
| Array<{ valueType?: string; value?: string }>
| undefined
)?.[0],
)
.toMatchObject({
value: "3.14",
valueType: "float",
});
});
});