Merge remote-tracking branch 'origin/sub_laptop_7' into sub_laptop_6
This commit is contained in:
@@ -97,7 +97,7 @@ def test_좌측_관_상자_강조_스크롤() -> None:
|
||||
assert 'body.classList.add("is-active");' in dock
|
||||
assert 'if (scroll) body.scrollIntoView({ block: "nearest" });' in dock
|
||||
# 관 상자 칸을 고치면 관을 고름 — 횡단에서 누른 것과 같은 길
|
||||
page = _src("B06_Section/B06_Section_UI_Page_Structures_Panel.ts")
|
||||
page = _src("B06_Section/B06_Section_UI_Page_Structures_Selection.ts")
|
||||
assert 'if (id === "inlet" || id === "outlet" || id === "pipe") return id;' in page
|
||||
css = _src("B06_Section/B06_Section_UI_Style_Cross_Areas.css")
|
||||
assert ".b06-chart__culvert-pipe.is-active {" in css
|
||||
|
||||
@@ -49,7 +49,7 @@ def test_폼을_다시_그리면_강조_다시() -> None:
|
||||
|
||||
def test_상자_칸을_고치면_그_부분을_고름() -> None:
|
||||
"""54-30 — 칸 고침 = 횡단에서 그 벽을 누른 것과 같은 길 · 단 수 칸은 고른 단을 지킴."""
|
||||
page = _src("B06_Section/B06_Section_UI_Page_Structures_Panel.ts")
|
||||
page = _src("B06_Section/B06_Section_UI_Page_Structures_Selection.ts")
|
||||
assert '[data-spec-item="outlet.tiers"]' in page
|
||||
assert "`extra${Number(box.dataset.specIndex)}`" in page
|
||||
assert "refreshCard?.(target.chainage_m);" in page
|
||||
|
||||
@@ -61,6 +61,7 @@ def test_거리_정의는_한_곳뿐이고_옛_0_05는_없다():
|
||||
("design_view_cross.ts", "A00_Common/design"),
|
||||
("B05_Profile_UI_Selection.ts", "B05_Profile"),
|
||||
("B06_Section_UI_Page_Structures_Panel.ts", "B06_Section"),
|
||||
("B06_Section_UI_Page_Structures_Selection.ts", "B06_Section"),
|
||||
("B06_Section_UI_Page_Structure_Pick.ts", "B06_Section"),
|
||||
("B05_Profile_UI_Structure_Pick_Session.ts", "B05_Profile"),
|
||||
):
|
||||
@@ -187,7 +188,9 @@ def test_B05_되살리기_같은_측점_관보다_구조물_id가_먼저(out):
|
||||
|
||||
# ── 배선 ───────────────────────────────────────────────────────────────
|
||||
def test_횡단도_벽_구체_눌러도_폼은_같은_길_하나():
|
||||
panel = _read("B06_Section", "B06_Section_UI_Page_Structures_Panel.ts")
|
||||
panel = _read("B06_Section", "B06_Section_UI_Page_Structures_Panel.ts") + _read(
|
||||
"B06_Section", "B06_Section_UI_Page_Structures_Selection.ts"
|
||||
)
|
||||
assert "showPipeAt" not in panel # 관 전용 길을 없앰
|
||||
assert panel.count("panel.showAtChainage(") == 3 # 기슭막이 · 세월교 · BOX
|
||||
assert panel.count("panel.releasePipe()") == 3 # 벽 선택을 풀 때는 관 폼만 비움
|
||||
|
||||
Reference in New Issue
Block a user