From 8cf26e0b0cf47865f94a557b34783488f79d4bd6 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Sun, 4 Oct 2026 20:41:41 +0900 Subject: [PATCH] =?UTF-8?q?test(M02):=20=EC=B9=B4=EB=93=9C=20=EC=8B=A4?= =?UTF-8?q?=ED=8C=A8=20=C2=B7=20=EB=B6=88=EB=9F=AC=EC=98=A4=EB=8A=94=20?= =?UTF-8?q?=EC=A4=91=20=EC=8B=9C=ED=97=98=20=EA=B8=B0=EB=8C=80=EA=B0=92?= =?UTF-8?q?=EC=9D=84=20=EC=A7=80=EA=B8=88=20=EA=BC=B4=EB=A1=9C=20=E2=80=94?= =?UTF-8?q?=20=EA=B3=A0=EB=A5=B4=EA=B8=B0=20=EB=AA=A8=EB=8B=AC=20retry=20?= =?UTF-8?q?=ED=95=98=EB=82=98=20=C2=B7=20=EC=9D=BC=EC=9C=84=EB=8C=80?= =?UTF-8?q?=EA=B0=80=20=EB=82=98=EB=AC=B4(Labor.ts)=20=EC=A7=80=EC=9B=80?= =?UTF-8?q?=20=EB=92=A4=20=EC=8B=A4=EB=AC=B4=EB=AC=B8=EC=84=9C=20=ED=99=94?= =?UTF-8?q?=EB=A9=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01MgChuAcyBqUkhHMTXomQC7 --- resources/tester/test_m02_card_shell.py | 6 ++++-- resources/tester/test_ui_loading.py | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/resources/tester/test_m02_card_shell.py b/resources/tester/test_m02_card_shell.py index 4972c8711..9e77f5f8a 100644 --- a/resources/tester/test_m02_card_shell.py +++ b/resources/tester/test_m02_card_shell.py @@ -57,5 +57,7 @@ def test_실패는_카드_안_글과_다시_불러오기(): assert "showToast" not in cards # 토스트 안 씀(저장 알림은 틀) assert "c.shell.fail(" in cards and "reload" in cards picker = (ROOT / "ui_template" / "ui_template_item_picker_detail.ts").read_text("utf-8") - assert "inputs.set(null, why(error), () => void paintInputs(row, seq));" in picker - assert "const stop = inputs.loading();" in picker + # 일위대가 카드 · 값 카드가 다시 불러오기 하나(retry)를 같이 씀(39-1c) + assert "const retry = (): void => void paintLabor(row, seq);" in picker + assert "inputs.set(null, why(error), retry);" in picker + assert "const stops = [labor.loading(), inputs.loading()];" in picker diff --git a/resources/tester/test_ui_loading.py b/resources/tester/test_ui_loading.py index cb1b173ab..87b8ddfa3 100644 --- a/resources/tester/test_ui_loading.py +++ b/resources/tester/test_ui_loading.py @@ -80,6 +80,9 @@ def test_실패_글과_다시_불러오기_M02_자리(): edit = _text(M02 / "M02_MasterTemplete_Labor_Edit.ts") assert "loadingError(reason(error), () => void open(key))" in edit assert "(current ? () => {} : showLoading(view))" in edit - assert "const stop = editor.loading();" in _text(M02 / "M02_MasterTemplete_Labor.ts") + # 좌측 일위대가 조합 나무(Labor.ts)는 39-2 에 지움 — 그 목록 자리는 실무문서 화면(같은 꼴) + practice = _text(M02 / "M02_MasterTemplete_Practice.ts") + assert "const stop = showLoading(view);" in practice + assert "loadingError(why(error), () => void drawList())" in practice assert "cards.map((c) => c.shell.loading())" in _text(M02 / "M02_MasterTemplete_ItemCards.ts") assert "loading: () => showLoading(host)," in _text(M02 / "M02_MasterTemplete_CardShell.ts")