- settings-popup (4→18): A등급, 팝업 CRUD - settings-subscription (3→12): B등급, 구독정보 조회 - report-analysis (4→12): B등급, 종합분석 대시보드 공통 개선: - searchWithinParent, closeOtherMenus 플래그 추가 - expectedAPIs 추가 - rollbackPlan 추가
179 lines
4.6 KiB
JSON
179 lines
4.6 KiB
JSON
{
|
|
"id": "report-analysis",
|
|
"name": "종합분석 테스트",
|
|
"screenshotPolicy": {
|
|
"onErrorOnly": true,
|
|
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
|
|
},
|
|
"description": "리포트 > 종합분석 메뉴의 분석 대시보드/차트/필터 기능 테스트",
|
|
"baseUrl": "https://dev.codebridge-x.com",
|
|
"menuNavigation": {
|
|
"level1": "리포트",
|
|
"level2": "종합분석",
|
|
"expectedUrl": "/reports/comprehensive-analysis",
|
|
"searchWithinParent": true,
|
|
"closeOtherMenus": true
|
|
},
|
|
"auth": {
|
|
"username": "TestUser5",
|
|
"password": "password123!"
|
|
},
|
|
"steps": [
|
|
{
|
|
"id": 1,
|
|
"name": "메뉴 진입: 리포트 > 종합분석",
|
|
"action": "menu_navigate",
|
|
"level1": "리포트",
|
|
"level2": "종합분석",
|
|
"expected": {
|
|
"url_contains": "/reports/comprehensive",
|
|
"visible": ["종합분석", "분석"]
|
|
}
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "필수 검증 #5: 목업 페이지 감지",
|
|
"action": "verify_not_mockup",
|
|
"checks": [
|
|
"분석 차트 표시",
|
|
"데이터 요약 카드 존재",
|
|
"기간 필터 존재"
|
|
],
|
|
"expected": "정상 페이지 (목업 아님)"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "요약 통계 카드 확인",
|
|
"action": "verify_elements",
|
|
"checks": [
|
|
"총 매출 카드",
|
|
"총 비용 카드",
|
|
"순이익 카드",
|
|
"전월 대비 증감"
|
|
],
|
|
"expected": "요약 통계 카드 표시"
|
|
},
|
|
{
|
|
"id": 4,
|
|
"name": "매출 차트 확인",
|
|
"action": "verify_elements",
|
|
"checks": [
|
|
"매출 추이 차트 (라인/바)",
|
|
"차트 범례 표시"
|
|
],
|
|
"expected": "매출 차트 표시"
|
|
},
|
|
{
|
|
"id": 5,
|
|
"name": "비용 차트 확인",
|
|
"action": "verify_elements",
|
|
"checks": [
|
|
"비용 분석 차트 (파이/도넛)",
|
|
"카테고리별 비용"
|
|
],
|
|
"expected": "비용 차트 표시"
|
|
},
|
|
{
|
|
"id": 6,
|
|
"phase": "FILTER",
|
|
"name": "[FILTER] 기간 필터 - 월 선택",
|
|
"action": "click",
|
|
"target": "input[type='month'], select[name*='period'], [class*='period-picker']",
|
|
"expected": "기간 선택 열림"
|
|
},
|
|
{
|
|
"id": 7,
|
|
"phase": "FILTER",
|
|
"name": "[FILTER] 조회 적용",
|
|
"action": "click",
|
|
"target": "button:has-text('조회'), button:has-text('적용'), button:has-text('검색')",
|
|
"expected": "필터 적용됨"
|
|
},
|
|
{
|
|
"id": 8,
|
|
"phase": "FILTER",
|
|
"name": "[FILTER] 필터 결과 확인",
|
|
"action": "verify_detail",
|
|
"checks": [
|
|
"선택한 기간의 데이터 표시"
|
|
],
|
|
"expected": "필터 동작 확인"
|
|
},
|
|
{
|
|
"id": 9,
|
|
"name": "부서별 분석 확인",
|
|
"action": "verify_elements",
|
|
"checks": [
|
|
"부서별 매출/비용 또는 통계"
|
|
],
|
|
"expected": "부서별 분석 표시"
|
|
},
|
|
{
|
|
"id": 10,
|
|
"name": "엑셀 다운로드 버튼 확인",
|
|
"action": "verify_elements",
|
|
"checks": [
|
|
"엑셀 다운로드 버튼 존재"
|
|
],
|
|
"expected": "엑셀 다운로드 기능 표시"
|
|
},
|
|
{
|
|
"id": 11,
|
|
"name": "PDF 내보내기 확인",
|
|
"action": "verify_elements",
|
|
"checks": [
|
|
"PDF 내보내기 버튼 존재"
|
|
],
|
|
"expected": "PDF 내보내기 기능 표시"
|
|
},
|
|
{
|
|
"id": 12,
|
|
"name": "인쇄 버튼 확인",
|
|
"action": "verify_elements",
|
|
"checks": [
|
|
"인쇄 버튼 존재"
|
|
],
|
|
"expected": "인쇄 기능 표시"
|
|
}
|
|
],
|
|
"expectedAPIs": [
|
|
{
|
|
"method": "GET",
|
|
"endpoint": "/api/v1/reports/comprehensive-analysis",
|
|
"description": "종합분석 데이터 조회"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"endpoint": "/api/v1/reports/sales-summary",
|
|
"description": "매출 요약 조회"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"endpoint": "/api/v1/reports/cost-summary",
|
|
"description": "비용 요약 조회"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"endpoint": "/api/v1/reports/department-analysis",
|
|
"description": "부서별 분석 조회"
|
|
}
|
|
],
|
|
"requiredVerifications": [
|
|
{
|
|
"id": 3,
|
|
"name": "검색/필터",
|
|
"steps": [6, 7, 8],
|
|
"criteria": "기간 필터 동작"
|
|
},
|
|
{
|
|
"id": 5,
|
|
"name": "목업 페이지 감지",
|
|
"steps": [2],
|
|
"criteria": "분석 차트, 데이터 카드, 기간 필터 존재"
|
|
}
|
|
],
|
|
"rollbackPlan": {
|
|
"note": "조회 전용 페이지로 데이터 변경 없음"
|
|
}
|
|
}
|