diff --git a/src/presentation/examples/auth-example-page.tsx b/src/presentation/examples/auth-example-page.tsx index a21c5e3c..f8419f2e 100644 --- a/src/presentation/examples/auth-example-page.tsx +++ b/src/presentation/examples/auth-example-page.tsx @@ -9,7 +9,8 @@ export default function AuthExamplePage() { const { pending, failed, run } = useSessionAction(); return ( -
+ // 08-07. Example copy is Korean in every locale (outside the catalog). +
+ // 08-07. Example copy is Korean in every locale (outside the catalog). +
+ // 08-07. Example copy is Korean in every locale (outside the catalog). +
+ // 08-07. Example copy is Korean in every locale (outside the catalog). +
{ + await page.setViewportSize({ width: 1280, height: 800 }); + await page.goto("/"); + await page.getByRole("combobox", { name: "언어" }).selectOption("en-US"); + await expect(page.locator("html")).toHaveAttribute("lang", "en-US"); + const navigation = page.getByRole("navigation", { name: "Primary navigation" }); + + for (const label of [ + "Platform composition", + "UI components", + "Screen states", + "Authentication", + ]) { + await navigation.getByRole("link", { name: label }).click(); + await expect(page).toHaveTitle(new RegExp(`^${label} `)); + await expect(page.locator("main .ui-page").first(), label).toHaveAttribute( + "lang", + "ko-KR", + ); + } +}); + test("applies RTL to the shell and modal navigation without changing action semantics", async ({ page, }) => {