diff --git a/M02_MasterTemplete/StructOptions/M02_SO_Text.ts b/M02_MasterTemplete/StructOptions/M02_SO_Text.ts index a4ec6adbc..ff1db8eec 100644 --- a/M02_MasterTemplete/StructOptions/M02_SO_Text.ts +++ b/M02_MasterTemplete/StructOptions/M02_SO_Text.ts @@ -21,7 +21,7 @@ const TEXT = { GroupName: ["그룹 이름", "Group name"], GroupNew: ["새 그룹 {value}", "New group {value}"], GroupUp: ["위로", "Up"], - AddKind: ["종류 더하기", "Add type"], + AddKind: ["종류 추가", "Add type"], AddKindNote: [ "본보기 종류를 그대로 복사한 새 종류(이름 「본보기 2」) — 옵션 · 그룹 · 반영 · 그리는 법이 같음 · 이름 · 반영은 고쳐서 [저장]", "New type copied from the template (name “template 2”) — same options, groups, reflect and drawing; edit name / reflect, then [Save]", diff --git a/resources/tester/test_368_3_cross_modal.py b/resources/tester/test_368_3_cross_modal.py index 8911e7169..8e4f1128c 100644 --- a/resources/tester/test_368_3_cross_modal.py +++ b/resources/tester/test_368_3_cross_modal.py @@ -16,10 +16,13 @@ def test_추가_측점_선_점선_끌기_없음() -> None: graph = _read("B06_Section/B06_Section_UI_Longitudinal.ts") assert 'station.kind === "irregular" && !station.plus' in graph assert 'station.plus ? "plus" : station.kind' in graph - css = _read("B06_Section/B06_Section_UI_Style_Cross.css") + _read("B06_Section/B06_Section_UI_Style_Cross_Chart.css") + css = _read("B06_Section/B06_Section_UI_Style_Cross.css") + _read( + "B06_Section/B06_Section_UI_Style_Cross_Chart.css" + ) rule = css[css.index(".b06-chart__station-line--plus") :].split("}")[0] assert "var(--color-warning)" in rule and "stroke-dasharray: 5 3" in rule - assert "PLUS_OWNER_PREFIX" in _read("B05_Profile/B05_Profile_UI_Profile_Layout.ts") + # 주인 앞머리는 공용 `common_util_structure_station.ts` 로 옮겨짐(Layout.ts 에는 없음) + assert 'PLUS_OWNER_PREFIX = "plus-"' in _read("common_util/common_util_structure_station.ts") def test_누름_작은_창_우클릭_삭제() -> None: diff --git a/resources/tester/test_b05_routeedit_chrome_modal.py b/resources/tester/test_b05_routeedit_chrome_modal.py index a3cbe238e..f6d2dff87 100644 --- a/resources/tester/test_b05_routeedit_chrome_modal.py +++ b/resources/tester/test_b05_routeedit_chrome_modal.py @@ -53,12 +53,12 @@ def test_겉틀은_본문_칸(): assert "follow: false" in chrome and 'data-act="side-toggle"' not in chrome -def test_393_1_횡단_판_기본_접힘_자동_열림은_기억_안_함(): +def test_393_1_횡단_판_기본_접힘_측점_고름은_판을_열지_않음(): + # 513-2 — 측점 고름 = 내용만 갱신 · 열림 · 닫힘은 손잡이(누름)만 · 자동 열림(393-1) 걷음 chrome = _read("B05_Profile_UI_RouteEdit_Chrome.ts") assert "defaultOpen: null," in chrome and "innerWidth >= 1500" not in chrome - # 측점 눈금 → 열되 기억 안 함 · 손잡이(누름)만 기억 cross = _read("B05_Profile_UI_RouteEdit_Cross.ts") - assert 'panels.open("cross", false)' in cross + assert "panels.open(" not in cross and "sidePanelsOf" not in cross side = (ROOT / "ui_template" / "ui_template_side_panels.ts").read_text(encoding="utf-8") assert "function open(id: string | null, remember = true): void {" in side assert "JSON.stringify({ open: kept, width })" in side diff --git a/resources/tester/test_m01_draft.py b/resources/tester/test_m01_draft.py index 16f3199fb..4d3152271 100644 --- a/resources/tester/test_m01_draft.py +++ b/resources/tester/test_m01_draft.py @@ -56,6 +56,9 @@ LOOP = """가 = 나 + 1 @pytest.fixture def client(tmp_path: Path, monkeypatch) -> TestClient: for path in REAL.glob("*.json"): + # 진짜 폴더에 남은 자체 로직 파일은 안 복사 — 「파일에 안 씀」 판정이 흐려짐 + if path.name == make.OWN: + continue if not path.name.startswith("_") or path.name == store.mk.BOOK.name: shutil.copy(path, tmp_path / path.name) monkeypatch.setattr(store, "FOLDER", tmp_path)