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")