diff --git a/resources/tester/test_m02_structure_panel.py b/resources/tester/test_m02_structure_panel.py index ca6e145a3..271ed7233 100644 --- a/resources/tester/test_m02_structure_panel.py +++ b/resources/tester/test_m02_structure_panel.py @@ -180,7 +180,9 @@ def test_면적_오른쪽_일위대가_패널은_공용_틀_손잡이(): def test_첫_화면과_닫은_뒤는_구조물집계표(): page = _text(M02 / "M02_MasterTemplete_UI_Page.ts") assert re.search(r'kind: "table",\s*name: STRUCTURE_TABLE', page) - assert "main.open(sel ?? home())" in page and "void main.open(home());" in page + assert ( + "main.open(sel ?? home())" in page and " : home()," in page + ) # 738-1 첫 화면 — 진입 갈래 끝은 집계표(home) def test_좌측_고름_표시는_열린_것_한_줄뿐(): @@ -218,7 +220,8 @@ def test_상세_화면_돌아가기는_집계표로_그_열_고른_채(): main = _text(MAIN) # M01 꼴 — 제목 앞(39-5) · 105-4 상세 이동 묶음(nav) · 49-7 [?] 칸(helpSlot)이 그 뒤 assert re.search( - r"children: \[\s*back,\s*title,\s*nav\.root,\s*helpSlot,\s*slot,\s*reload,\s*save,", main + r"children: \[\s*back,\s*title,\s*nav\.root,\s*helpSlot,\s*slot,\s*reload,\s*actions\.reset,\s*actions\.del,\s*save,", + main, ) assert "!(sel.kind in NUMBER_FIELD)" in main # 구조물 도면 · 일위대가 · 면적산출만 body = main.split('back.addEventListener("click"')[1]