diff --git a/resources/tester/test_126_ford_right_click.py b/resources/tester/test_126_ford_right_click.py index 2a19f85ab..f4dae5398 100644 --- a/resources/tester/test_126_ford_right_click.py +++ b/resources/tester/test_126_ford_right_click.py @@ -102,7 +102,9 @@ def test_배수유역_패널_배선(): apply.index("callbacks.onPipesChanged?.("), ] assert order == sorted(order) - add = src[src.index(" addPipe(chainageM, attributes) {") : src.index(" removePipe(")] + # 510 — 패널 addPipe 를 함수로(자동 제안 [넣기]도 같은 길) · 옮김은 updatePipeFacility 그대로 + add = src[src.index(" function addPipe(chainageM: number, attributes?: FacilityAttributes): void {") : src.index(" /** 노선 전체가")] + add += src[src.index(" updatePipeFacility(") : src.index(" removePipe(")] assert "waitsFordHeight(attributes?.facility, attributes?.options)" in add assert add.index("fordWaits().add(chainageM)") < add.index( "pipeEditor.addAtChainage(chainageM)" diff --git a/resources/tester/test_291_1_add_only_on_add.py b/resources/tester/test_291_1_add_only_on_add.py index 7510271b5..e7c34be34 100644 --- a/resources/tester/test_291_1_add_only_on_add.py +++ b/resources/tester/test_291_1_add_only_on_add.py @@ -60,7 +60,8 @@ def test_고르던_항목만_실시간_반영(): def test_새_세월교_물넘이_월류_높이는_추가_뒤_채움(): drainage = _read("B05_Profile_UI_Drainage_Panel.ts") - body = _body(drainage, " addPipe(chainageM, attributes) {", " updatePipeFacility(") + # 510 — 패널 addPipe 를 함수로(자동 제안 [넣기]도 같은 길) + body = _body(drainage, " function addPipe(chainageM: number, attributes?: FacilityAttributes): void {", " /** 노선 전체가") assert "fordWaits().add(chainageM)" in body