feat: modularize dashboard pages

This commit is contained in:
2026-08-21 10:48:21 +09:00
parent 99473caa1c
commit cd9b37b41f
16 changed files with 2270 additions and 2084 deletions
+5 -5
View File
@@ -46,11 +46,11 @@ def test_streamlit_apptest_core_pages_use_synthetic_fixture_db(tmp_path, monkeyp
app_path = Path(__file__).resolve().parents[1] / "dashboard" / "app.py"
page_expectations = {
"요약": "가계부 운영 대시보드",
"요약": "이번 달 수입/지출 현황",
"자산/마감": "월말 스냅샷 Preview / Close",
"분류 규칙": "분류 규칙",
"확인필요 큐": "KB↔토스뱅크 확인필요 큐",
"월정산": "월정산",
"분류 규칙": "현재 분류 규칙",
"확인필요 큐": "현재 review_status: pending",
"월정산": "월간 핵심 KPI",
}
for page, expected_text in page_expectations.items():
at = AppTest.from_file(str(app_path), default_timeout=10)
@@ -121,4 +121,4 @@ def test_streamlit_apptest_core_pages_use_synthetic_fixture_db(tmp_path, monkeyp
assert ".local/share/jarca/uploads" not in body_text
assert "/home/" not in body_text
assert "raw_payload" not in body_text
assert "🔒 읽기 전용" in body_text
assert "🔒 읽기 전용" in body_text