test(740-2): M02 구조물 패널 낡은 대조 두 건 새 꼴로 — 738-1 첫 화면 갈래(단가산출 · 일위대가 · 그 밖 home) · 머리 단추 줄에 초기화 · 삭제 추가
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user