1
0
forked from baron/baron-sso

chore: update playwright fixtures to use real SSO domain

Since the OIDC authority was updated to https://sso.hmac.kr/oidc, the Playwright mocks and localStorage seed values must match exactly for tests to pass in the new configuration.
This commit is contained in:
2026-04-21 15:02:53 +09:00
parent e7156450ba
commit ae03fe1475
8 changed files with 37 additions and 37 deletions

View File

@@ -9,7 +9,7 @@ test.describe("Users Bulk Upload", () => {
window as Window & typeof globalThis & { _IS_TEST_MODE?: boolean }
)._IS_TEST_MODE = true;
const authority = "http://localhost:5000/oidc";
const authority = "https://sso.hmac.kr/oidc";
const client_id = "adminfront";
const key = `oidc.user:${authority}:${client_id}`;
const authData = {
@@ -54,7 +54,7 @@ test.describe("Users Bulk Upload", () => {
});
await page.route("**/oidc/**", async (route) => {
await route.fulfill({ json: { issuer: "http://localhost:5000/oidc" } });
await route.fulfill({ json: { issuer: "https://sso.hmac.kr/oidc" } });
});
});