From dcce47b6d95278e9f90840cbd970b6a28d0b4fe4 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Sun, 4 Oct 2026 17:54:24 +0900 Subject: [PATCH] =?UTF-8?q?test(M02):=20=EA=B5=AC=EC=A1=B0=EB=AC=BC=20?= =?UTF-8?q?=EC=A1=B0=ED=95=A9=20=EC=A0=9C=EB=AA=A9=20=EC=A4=84=20=EC=8B=9C?= =?UTF-8?q?=ED=97=98=20=E2=80=94=20=EC=83=88=20=EB=A8=B8=EB=A6=AC=20?= =?UTF-8?q?=EA=BC=B4(=E2=86=90=20=EC=A0=9C=EB=AA=A9=20=EC=95=9E)=20=C2=B7?= =?UTF-8?q?=20=E3=80=8C=EC=83=88=20=ED=95=AD=EB=AA=A9=E3=80=8D=20=3D=20?= =?UTF-8?q?=EB=91=90=20=EB=8B=A8=EC=B6=94=20=ED=99=94=EB=A9=B4=20=C2=B7=20?= =?UTF-8?q?=EA=B3=A0=EB=A5=B8=20=ED=8F=B4=EB=8D=94=20folder()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 39-5 — 134a727c9 · 364d22ff6 뒤 기대값 맞춤. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016PSXsvyDxjNmufteN5bqmt --- resources/tester/test_m02_layer_screen.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/resources/tester/test_m02_layer_screen.py b/resources/tester/test_m02_layer_screen.py index 721a75faa..ce9c04253 100644 --- a/resources/tester/test_m02_layer_screen.py +++ b/resources/tester/test_m02_layer_screen.py @@ -301,17 +301,15 @@ def test_구조물_조합_제목_줄_새_항목(): main = _text(M02 / "M02_MasterTemplete_UI_Main.ts") assert "export function newItemButton(" in main and 'classList.add("m02-main__new")' in main assert ( - "children: [title, back, slot, reload, save, ...(extras.newItem ? [extras.newItem] : [])]" + "children: [back, title, slot, reload, save, ...(extras.newItem ? [extras.newItem] : [])]" in main ) assert "if (extras.newItem) extras.newItem.hidden = !combo;" in main page = _text(M02 / "M02_MasterTemplete_UI_Page.ts") - assert ( - "...(canEdit(layer, isAdmin) ? { newItem: newItemButton(() => tree.newItem()) } : {})" - in page - ) + assert "...(canEdit(layer, isAdmin) ? { newItem: newItemButton(() => openNew()) } : {})" in page panel = _text(M02 / "M02_MasterTemplete_TreePanel.ts") - assert 'void addItem(at?.kind === "folder" ? at.path : []);' in panel + assert 'return at?.kind === "folder" ? at.path : [];' in panel # 고른 폴더(39-5 folder()) + assert "const newItem = (): void => void addItem(folder());" in panel assert ".m02-main__new {\n margin-left: auto;" in _text( M02 / "M02_MasterTemplete_UI_Style.css" )