- 새 부품 파일: ui_template_table · setting_row · drop · createRowMenu(context_menu) · 모달 폭 단 · askConfirm · askText(window.prompt 대신) · confirmPanel - 단추 = 552-2 단추 부품(⋯ 아이콘 단추 28 · 띠 알림 닫기 20 · 놓기 칸 [파일 고르기] 28) - 대시보드 PageKit 의 dataTable · tableShell · tableRow · rowMenu · settingRow · settingCard · valueText = 부품을 다시 내보냄(한 벌 · 부름 꼴 그대로) · B01 옛 CSS 걷음 - showConfirmDialog 는 모달 부품으로 옮기고 본체가 다시 내보냄 · 모달 가림막 옛 보라 → --color-scrim - 시험: test_552_3_* 다섯 더함 · 옮긴 함수 자리를 읽던 test_290_1 · test_505_2 고침 · 부품 CSS import 를 못 읽던 시험 도우미 넷(130 · 153 · 280_5 · 311)이 .css 를 건너뜀 - 전후 촬영: B01 여덟 화면 자리 같음 · ⋯ 아이콘만 1 px 왼쪽(단추 부품 가운데 맞춤) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
979 B
Python
23 lines
979 B
Python
"""552-3 부품 「설정 줄」 지킴 시험 — 줄 52 · 오른쪽 55 % · 빈 값 「-」 · 대시보드 settingRow 가 부품을 씀."""
|
|
|
|
from test_552_3_card import ROOT, _text, check_part
|
|
|
|
|
|
def test_setting_row():
|
|
check_part(
|
|
"setting-row",
|
|
"ui_template_setting_row.ts",
|
|
["ui_template_setting_row.css"],
|
|
["settingRow", "settingCard"],
|
|
["ui-setting-row", "ui-setting-row__text", "ui-setting-row__side", "ui-setting-card"],
|
|
)
|
|
css = _text("ui_template_setting_row.css")
|
|
assert "min-height: 52px" in css and "max-width: 55%" in css
|
|
b01 = ROOT / "B01_Dashboard"
|
|
kit = (b01 / "B01_Dashboard_UI_PageKit.ts").read_text(encoding="utf-8")
|
|
assert (
|
|
'export { settingCard, settingRow, valueText } from "@ui/ui_template_setting_row";' in kit
|
|
)
|
|
profile = (b01 / "B01_Dashboard_UI_Profile.ts").read_text(encoding="utf-8")
|
|
assert ".ui-setting-row__text" in profile and ".b01-pg-row" not in profile
|