From 87aebf47df4c06077762bc765f11987efb5af025 Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Tue, 3 Nov 2026 07:17:42 +0900 Subject: [PATCH] =?UTF-8?q?test(e2e):=20=EC=B0=B8=EC=A1=B0=20=EB=9D=BC?= =?UTF-8?q?=EC=9A=B0=ED=8A=B8=20e2e=EA=B0=80=20=ED=95=9C=EA=B5=AD=EC=96=B4?= =?UTF-8?q?=20=EB=AA=A9=EB=A1=9D=20=EC=A0=9C=EB=AA=A9=EC=9D=84=20=EA=B8=B0?= =?UTF-8?q?=EB=8B=A4=EB=A6=B0=EB=8B=A4=20(0929/08-02)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 문제: 855d22a가 ko-KR 샘플 문구를 한국어로 바꿔 목록 h1이 "참조 기능"이 됐다. reference-route.spec.ts는 h1이 route 제목("Reference feature")과 같다고 기대해 세 엔진 모두 실패했다. 화면은 정상이었다(같은 실행의 스크린샷에 h1, 인증됨, 모의 행이 모두 보인다). 그 수정 때 e2e를 돌리지 않아 놓쳤다. 방법: reference-form.spec.ts처럼 h1 문구를 직접 적는다. route 제목은 아직 catalog 밖 영어라(08-06 몫) h1과 같지 않다. 버린 대안: catalog에서 문구를 import — 다른 e2e와 방식이 갈린다. 검증: playwright test tests/e2e/reference-route.spec.ts — chromium· firefox·webkit 3 passed. 전체 test:e2e는 이 한 건 외 184 passed. --- tests/e2e/reference-route.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/e2e/reference-route.spec.ts b/tests/e2e/reference-route.spec.ts index 057f077c..e1065b7d 100644 --- a/tests/e2e/reference-route.spec.ts +++ b/tests/e2e/reference-route.spec.ts @@ -25,8 +25,9 @@ test("opens the protected integration route through the local demo seam", async await page.getByRole("button", { name: "로그인 시작" }).click(); + // The h1 comes from the ko-KR message catalog, not the route title (0929/08-02). await expect( - page.getByRole("heading", { name: protectedRoute.title }), + page.getByRole("heading", { level: 1, name: "참조 기능" }), ).toBeVisible(); // The closed menu drawer holds a second copy of the status (08-01). await expect(page.getByRole("banner").getByText("인증됨")).toBeVisible();