i18n 적용
CI / test (push) Failing after 11m12s
CI / e2e (push) Has been cancelled
CI / pr_and_merge (push) Has been cancelled

This commit is contained in:
2025-12-10 15:56:51 +09:00
parent 73e9bc6a1c
commit f71207aeb5
127 changed files with 7346 additions and 2079 deletions
+7 -7
View File
@@ -114,13 +114,13 @@ describe("EditorPage - 페이지/캔버스 배경", () => {
it("프로젝트 저장/불러오기 모달 카드는 라이트/다크 테마에 맞는 카드/인풋 크롬을 사용해야 한다", () => {
render(<EditorPage />);
const menuButton = screen.getByRole("button", { name: /메뉴/ });
const menuButton = screen.getByRole("button", { name: /Menu/ });
fireEvent.click(menuButton);
const projectMenuItem = screen.getByRole("button", { name: "프로젝트 저장/불러오기" });
const projectMenuItem = screen.getByRole("button", { name: "Save / load project" });
fireEvent.click(projectMenuItem);
const heading = screen.getByText("프로젝트 저장 / 불러오기");
const heading = screen.getByText("Save / load project");
const headerDiv = heading.closest("div") as HTMLDivElement | null;
expect(headerDiv).not.toBeNull();
@@ -136,7 +136,7 @@ describe("EditorPage - 페이지/캔버스 배경", () => {
expect(cardClass).toContain("dark:border-slate-700");
const titleSpan = Array.from(card!.querySelectorAll("span")).find(
(el) => el.textContent === "프로젝트 제목",
(el) => el.textContent === "Project title",
);
expect(titleSpan).not.toBeUndefined();
const titleWrapper = (titleSpan as HTMLSpanElement).parentElement as HTMLElement | null;
@@ -157,10 +157,10 @@ describe("EditorPage - 페이지/캔버스 배경", () => {
it("JSON Export / Import 모달 카드는 라이트/다크 테마에 맞는 카드/textarea 크롬을 사용해야 한다", () => {
render(<EditorPage />);
const menuButton = screen.getByRole("button", { name: /메뉴/ });
const menuButton = screen.getByRole("button", { name: /Menu/ });
fireEvent.click(menuButton);
const jsonMenuItem = screen.getByRole("button", { name: "JSON 내보내기/불러오기" });
const jsonMenuItem = screen.getByRole("button", { name: "JSON export / import" });
fireEvent.click(jsonMenuItem);
const heading = screen.getByText(/JSON Export \/ Import/);
@@ -178,7 +178,7 @@ describe("EditorPage - 페이지/캔버스 배경", () => {
expect(cardClass).toContain("dark:text-slate-100");
expect(cardClass).toContain("dark:border-slate-700");
const jsonLabel = screen.getByText("에디터 상태 JSON");
const jsonLabel = screen.getByText("Editor state JSON");
const jsonWrapper = jsonLabel.parentElement as HTMLElement | null;
expect(jsonWrapper).not.toBeNull();