1
0
forked from baron/baron-sso

Format orgfront code check targets

This commit is contained in:
2026-04-30 16:07:18 +09:00
parent 7d893431d1
commit c6190bbab6
2 changed files with 51 additions and 48 deletions

View File

@@ -21,13 +21,16 @@ test("orgfront login auto parameter starts OIDC authorization", async ({
},
);
await page.route("http://localhost:5000/oidc/oauth2/auth**", async (route) => {
authorizationURL = route.request().url();
await route.fulfill({
contentType: "text/html",
body: "<!doctype html><title>Authorization captured</title>",
});
});
await page.route(
"http://localhost:5000/oidc/oauth2/auth**",
async (route) => {
authorizationURL = route.request().url();
await route.fulfill({
contentType: "text/html",
body: "<!doctype html><title>Authorization captured</title>",
});
},
);
await page.goto("/login?auto=1&returnTo=%2Fpicker");