Merge remote-tracking branch 'origin/sub_laptop_3' into main_laptop_1
This commit is contained in:
@@ -126,6 +126,6 @@ def test_화면_연결():
|
||||
ui = (ROOT / "B08_Quantity/B08_Quantity_UI_Material.ts").read_text(encoding="utf-8")
|
||||
assert "liveSurcharge(projectId, payload.surcharge_pct)" in ui
|
||||
assert "onOptionsChange(host," in ui
|
||||
assert 'key === "surcharge" && !rows[i].panel' in ui and "할증 = 좌측 패널" in ui
|
||||
assert 'key === "surcharge" && !rows[keep[i]].panel' in ui and "할증 = 좌측 패널" in ui
|
||||
panel = (ROOT / "B08_Quantity/B08_Quantity_UI_Options.ts").read_text(encoding="utf-8")
|
||||
assert "put({ material_surcharge_pct:" in panel and "body.material_surcharge_pct" in panel
|
||||
|
||||
@@ -23,7 +23,11 @@ def test_스프레드시트_미리보기_수정_옵션():
|
||||
src = _text(ROOT / "A00_Common" / "spreadsheet" / "spreadsheet.ts")
|
||||
assert "preview?: boolean;" in src
|
||||
assert "const bare = readOnly || !!opts.preview;" in src
|
||||
assert "bare ? null : mountToolbar(ctx)" in src and "bare ? null : attachMenu(ctx)" in src
|
||||
assert "bare ? null : mountToolbar(ctx)" in src
|
||||
# 미리보기 우클릭 = 「복사」 한 줄 — 메뉴 쪽이 ss--preview 로 가름
|
||||
assert "attachMenu(ctx)" in src and '" ss--preview"' in src
|
||||
menu = _text(ROOT / "A00_Common" / "spreadsheet" / "spreadsheet_menu.ts")
|
||||
assert 'classList.contains("ss--preview")' in menu and "copyOnlyItems(ctx)" in menu
|
||||
# 편집 · 수식 입력 줄은 readOnly 만 막음 — preview 는 고칠 수 있음
|
||||
assert "const readOnly = !!opts.readOnly;" in src
|
||||
assert re.search(r"for \(const node of \[toolbar\?\.root, ed\.bar, grid\.root", src)
|
||||
|
||||
Reference in New Issue
Block a user