From d54039593855d011d47898b1cf82a2e062430a5e Mon Sep 17 00:00:00 2001 From: umsangdon Date: Sat, 10 Oct 2026 16:02:15 +0900 Subject: [PATCH] =?UTF-8?q?test(B08,M02):=20=EB=82=A1=EC=9D=80=20=EC=8B=9C?= =?UTF-8?q?=ED=97=98=20=EB=91=98=20=EA=B8=B0=EB=8C=80=EA=B0=92=EC=9D=84=20?= =?UTF-8?q?=EC=A7=80=EA=B8=88=20=EC=BD=94=EB=93=9C=20=EA=BC=B4=EC=97=90=20?= =?UTF-8?q?=EB=A7=9E=EC=B6=A4=20=E2=80=94=20=EC=9E=90=EC=9E=AC=20=ED=95=A0?= =?UTF-8?q?=EC=A6=9D=20editable(rows[keep[i]])=20=C2=B7=20=EC=8A=A4?= =?UTF-8?q?=ED=94=84=EB=A0=88=EB=93=9C=EC=8B=9C=ED=8A=B8=20=EB=AF=B8?= =?UTF-8?q?=EB=A6=AC=EB=B3=B4=EA=B8=B0(=EB=8F=84=EA=B5=AC=20=EC=A4=84=20?= =?UTF-8?q?=EC=97=86=EC=9D=8C=20=C2=B7=20=EB=A9=94=EB=89=B4=20ss--preview)?= =?UTF-8?q?(205-2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01SE9MxeXTu2uaDZ55BJowAY --- resources/tester/test_124_b08_surcharge_panel.py | 2 +- resources/tester/test_m02_card_sheet_edit.py | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/resources/tester/test_124_b08_surcharge_panel.py b/resources/tester/test_124_b08_surcharge_panel.py index 6b8ea454b..52faf1c38 100644 --- a/resources/tester/test_124_b08_surcharge_panel.py +++ b/resources/tester/test_124_b08_surcharge_panel.py @@ -126,6 +126,6 @@ def test_화면_연결(): ui = (ROOT / "B08_Quantity/B08_Quantity_UI_Material.ts").read_text(encoding="utf-8") assert "liveSurcharge(projectId, payload.surcharge_pct)" in ui assert "onOptionsChange(host," in ui - assert 'key === "surcharge" && !rows[i].panel' in ui and "할증 = 좌측 패널" in ui + assert 'key === "surcharge" && !rows[keep[i]].panel' in ui and "할증 = 좌측 패널" in ui panel = (ROOT / "B08_Quantity/B08_Quantity_UI_Options.ts").read_text(encoding="utf-8") assert "put({ material_surcharge_pct:" in panel and "body.material_surcharge_pct" in panel diff --git a/resources/tester/test_m02_card_sheet_edit.py b/resources/tester/test_m02_card_sheet_edit.py index 5553e17e8..6a4abdaac 100644 --- a/resources/tester/test_m02_card_sheet_edit.py +++ b/resources/tester/test_m02_card_sheet_edit.py @@ -23,7 +23,11 @@ def test_스프레드시트_미리보기_수정_옵션(): src = _text(ROOT / "A00_Common" / "spreadsheet" / "spreadsheet.ts") assert "preview?: boolean;" in src assert "const bare = readOnly || !!opts.preview;" in src - assert "bare ? null : mountToolbar(ctx)" in src and "bare ? null : attachMenu(ctx)" in src + assert "bare ? null : mountToolbar(ctx)" in src + # 미리보기 우클릭 = 「복사」 한 줄 — 메뉴 쪽이 ss--preview 로 가름 + assert "attachMenu(ctx)" in src and '" ss--preview"' in src + menu = _text(ROOT / "A00_Common" / "spreadsheet" / "spreadsheet_menu.ts") + assert 'classList.contains("ss--preview")' in menu and "copyOnlyItems(ctx)" in menu # 편집 · 수식 입력 줄은 readOnly 만 막음 — preview 는 고칠 수 있음 assert "const readOnly = !!opts.readOnly;" in src assert re.search(r"for \(const node of \[toolbar\?\.root, ed\.bar, grid\.root", src)