Files
Aislo/resources/tester/test_552_3_stat.py
T
eomsangdonandClaude Opus 5.5 7e584c1e7b feat(ui-kit): 묶음 부품 열 — 카드 · 접이 카드 · 빈 상태 · 알림 · 띠 알림 · 숫자 카드 · 값 목록 · 진행 막대 · 작은 그래프 · 범례 (PLAN 552-3)
- 새 부품 파일: ui_template_card · empty · banner · stat · kv · toast · flow_legend(.ts) · 진행 막대 · 막대 · 원 그래프 덧붙임
- createCard · showToast · 로딩 가림막은 부품 파일로 옮기고 본체(ui_template_elements)가 다시 내보냄 — 부름 꼴 그대로
- 대시보드 emptyState = 빈 상태 부품을 씀(한 벌) · 선 카드 그림자 0 · 가림막 옛 보라 → --color-scrim
- 부품 모음 화면 견본(밝음 · 어두움 · 상태) · 지킴 시험 test_552_3_* 열
- 전후 촬영: B01 여덟 화면 자리 · 화소 같음(실시간 CPU 값만 다름) · A01 · B08 카드 그림자만 다름

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 21:28:29 +09:00

24 lines
694 B
Python

"""552-3 부품 「숫자 카드」 지킴 시험 — 값 22 · 변화 ▲▼ · 게이지 · 판정."""
from test_552_3_card import _text, check_part
def test_stat():
check_part(
"stat",
"ui_template_stat.ts",
["ui_template_stat.css"],
["createStat", "statGrid"],
[
"ui-stat",
"ui-stat__label",
"ui-stat__value",
"ui-stat__delta",
"ui-stat__bar",
"ui-stat-grid",
],
)
css = _text("ui_template_stat.css")
assert "font-size: 22px" in css and ".ui-stat.is-warn" in css and ".ui-stat.is-bad" in css
assert '"▼" : "▲"' in _text("ui_template_stat.ts")