forked from baron/baron-sso
offline_access 기본 스코프 추가 및 refresh_token 발급 확인
This commit is contained in:
@@ -99,7 +99,7 @@ test.describe("DevFront RP claim cache", () => {
|
||||
await expect(claimKeyInput).toHaveValue("new_claim");
|
||||
});
|
||||
|
||||
test("adds supported scopes and custom claim keys from the scope picker without offline_access", async ({
|
||||
test("adds supported scopes and custom claim keys from the scope picker including offline_access", async ({
|
||||
page,
|
||||
}) => {
|
||||
const state = {
|
||||
@@ -142,9 +142,9 @@ test.describe("DevFront RP claim cache", () => {
|
||||
.getByRole("button", { name: /스코프 추가|Scope 추가|Add Scope/i })
|
||||
.click();
|
||||
|
||||
await expect(page.getByText("offline_access", { exact: true })).toHaveCount(
|
||||
0,
|
||||
);
|
||||
await expect(
|
||||
page.getByText("offline_access", { exact: true }),
|
||||
).toBeVisible();
|
||||
await expect(
|
||||
page.getByRole("button", { name: /employee_code/ }),
|
||||
).toBeVisible();
|
||||
|
||||
Reference in New Issue
Block a user