feat: improve Korean neural voice quality for v0.1.1

This commit is contained in:
oz
2026-10-14 07:15:07 +00:00
parent 1c0069c367
commit a92b2ba1e9
161 changed files with 13727 additions and 454 deletions
+17 -29
View File
@@ -19,9 +19,7 @@ test("전체 음량은 설정 흐름 안에 들어가며 키보드로 조절된
.soft(control.y + control.height)
.toBeLessThanOrEqual(bounds.y + bounds.height);
};
await expectInside(
page.getByRole("region", { name: "나의 소리 탐험 준비" }),
);
await expectInside(page.getByRole("region", { name: "나의 소리 탐험 준비" }));
const start = page.getByRole("button", {
name: "게임 시작 · 소리 듣기",
});
@@ -53,14 +51,10 @@ test("전체 음량은 설정 흐름 안에 들어가며 키보드로 조절된
test("난이도 설명은 모바일에서도 보인다", async ({ page }) => {
await page.goto("/");
await page
.getByRole("button", { name: "게임 시작 · 소리 듣기" })
.click();
await page.getByRole("button", { name: "게임 시작 · 소리 듣기" }).click();
// DOM에만 설명을 남기고 모바일 CSS로 숨기면 컴포넌트 검증은 통과하므로
// 실제 화면에서 난이도 배지와 쉬운 설명을 모두 읽을 수 있는지 확인한다.
await expect
.soft(page.locator(".db-note"))
.toBeVisible({ timeout: 1000 });
await expect.soft(page.locator(".db-note")).toBeVisible({ timeout: 1000 });
await expect
.soft(page.getByText("1단계 · SNR +6 dB"))
.toBeVisible({ timeout: 1000 });
@@ -86,17 +80,13 @@ test("한국어 제목은 단어 중간에서 줄바꿈하지 않는다", async
})),
);
const homeHeadings = await wordBreaks();
expect
.soft(homeHeadings)
.toEqual(
homeHeadings.map((heading) => ({
...heading,
wordBreak: "keep-all",
})),
);
await page
.getByRole("button", { name: "게임 시작 · 소리 듣기" })
.click();
expect.soft(homeHeadings).toEqual(
homeHeadings.map((heading) => ({
...heading,
wordBreak: "keep-all",
})),
);
await page.getByRole("button", { name: "게임 시작 · 소리 듣기" }).click();
const question = page.getByRole("heading", {
name: createQuestions(42, "mixed")[0]!.pattern.question,
});
@@ -105,18 +95,16 @@ test("한국어 제목은 단어 중간에서 줄바꿈하지 않는다", async
// 이미지 안으로 들어오는 Chrome 캡처 아티팩트를 방지한다. 초점은 유지한다.
await page.evaluate(() => window.scrollTo(0, 0));
await page.screenshot({
path: `.agent/evidence/release-${info.project.name}-heading.png`,
path: `.agent/evidence-v0.1.1/${info.project.name}-heading.png`,
fullPage: true,
});
const gameHeadings = await wordBreaks();
expect
.soft(gameHeadings)
.toEqual(
gameHeadings.map((heading) => ({
...heading,
wordBreak: "keep-all",
})),
);
expect.soft(gameHeadings).toEqual(
gameHeadings.map((heading) => ({
...heading,
wordBreak: "keep-all",
})),
);
expect(
await question.evaluate(
(heading) => heading.scrollWidth <= heading.clientWidth,