개선관리 요구사항과 Google 로그인을 완료

This commit is contained in:
Yun Chan 2026-08-28 16:07:09 +09:00
parent cc0a15b7c6
commit 2a39636163
112 changed files with 10166 additions and 527 deletions

View file

@ -88,7 +88,7 @@ async function routeLoginScreen(page: Page) {
await page.route("**/auth/config", (route) =>
route.fulfill(
jsonRoute({
allowed_email_domains: ["hs.ac.kr"],
allowed_email_domains: [],
dev_login_enabled: false,
google_oauth_configured: true,
providers: [
@ -905,7 +905,7 @@ async function openLogin(page: Page) {
await routeLoginScreen(page);
await page.goto("/login");
await expect(page.locator(".lg-root, .lg-enter").first()).toBeVisible({ timeout: 15_000 });
await expect(page.getByRole("button", { name: /학교 Google 계정으로 계속/ })).toBeVisible();
await expect(page.getByRole("button", { name: /^Google 계정으로 계속/ })).toBeVisible();
}
async function openLearnerHome(page: Page) {
@ -974,12 +974,12 @@ test.describe("uc a11y-mobile — 주요 6화면 접근성·모바일 감사", (
});
// usecase: 저시력 사용자가 주 로그인 버튼의 문구를 읽는다
test("로그인 주 CTA(학교 Google 계정으로 계속)의 색 대비가 4.5:1 이상이다", async ({ page }) => {
test("로그인 주 CTA(Google 계정으로 계속)의 색 대비가 4.5:1 이상이다", async ({ page }) => {
await openLogin(page);
await expectCtaContrast(
page.getByRole("button", { name: /학교 Google 계정으로 계속/ }),
page.getByRole("button", { name: /^Google 계정으로 계속/ }),
"login",
"학교 Google 계정으로 계속",
"Google 계정으로 계속",
);
});