# task-1918_c: 대시보드/API 관련 테스트 16건 실패 수정

## 실패 테스트 (16건)

### test_task_1044_1_archive_title_time (10건)
- 8건: `AttributeError: module 'server' has no attribute 'get_records_list'`
  - dashboard/server.py에 get_records_list 함수 미구현
  - 테스트가 먼저 작성되었으나 구현이 안 된 상태
- 1건: 제목 추출 — 파일명과 동일한 제목 반환 (fallback 미작동)
- 1건: API 통합 테스트
- 파일: `tests/test_task_1044_1_archive_title_time.py`, `dashboard/server.py`

### test_banner_versions (4건)
- test_post_select_v1456_success: `Invalid cell_id: cell-1-test` (400 반환, 200 기대)
- test_post_select_v1460_success: 동일
- test_post_then_get_selection_persisted: 동일
- test_post_select_invalid_version: 에러 메시지 불일치
- 원인: cell_id 검증 로직이 강화되었으나 테스트 fixture 미업데이트
- 파일: `tests/test_banner_versions.py`, `dashboard/routes_post.py`

### test_dashboard_todo_tabs (2건)
- test_desktop_tab_switching, test_mobile_tab_switching
- 파일: `tests/test_dashboard_todo_tabs.py`, `dashboard/`

### test_absorption_health_check (1건 — TestIntegration만)
- test_summary_status_counts_sum_to_total: 카운트 합산 불일치
- 파일: `tests/test_absorption_health_check.py`

## 수정 원칙
1. get_records_list 미구현 → 구현 추가 (테스트가 스펙 역할)
2. cell_id 검증 변경 → 테스트 fixture를 현재 검증 규칙에 맞게 수정
3. 판단 어려우면 보고서에 명시

## 검증 시나리오
- 해당 테스트 파일 전체 PASS
- 대시보드 서버 기동 확인 (import 에러 없음)