- accounting-ledger, accounting-payment, accounting-daily-report: C→B (조회/필터/다운로드) - accounting-financial, accounting-cost: C→B (재무제표/원가 조회) - production-dashboard, production-worker: C→B (현황판/작업자화면) - production-item, production-work-result: C→A (CRUD 전체) - purchase-status: C→B (구매현황 조회) - purchase-client, purchase-pricing: C→A (거래처/단가 CRUD) - material-stock: C→B (재고현황 조회) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
213 lines
5.8 KiB
JSON
213 lines
5.8 KiB
JSON
{
|
|
"id": "accounting-payment",
|
|
"name": "결제내역 테스트",
|
|
"screenshotPolicy": {
|
|
"onErrorOnly": true,
|
|
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
|
|
},
|
|
"description": "회계관리 > 결제내역 메뉴의 결제 내역 조회/필터/검색/다운로드 기능 테스트",
|
|
"baseUrl": "https://dev.codebridge-x.com",
|
|
"menuNavigation": {
|
|
"level1": "회계관리",
|
|
"level2": "결제내역",
|
|
"expectedUrl": "/payment-history",
|
|
"searchWithinParent": true,
|
|
"closeOtherMenus": true
|
|
},
|
|
"auth": {
|
|
"username": "TestUser5",
|
|
"password": "password123!"
|
|
},
|
|
"steps": [
|
|
{
|
|
"id": 1,
|
|
"name": "메뉴 진입: 회계관리 > 결제내역",
|
|
"action": "menu_navigate",
|
|
"level1": "회계관리",
|
|
"level2": "결제내역",
|
|
"expected": {
|
|
"url_contains": "/payment",
|
|
"visible": ["결제내역", "결제"]
|
|
}
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "필수 검증 #5: 목업 페이지 감지",
|
|
"action": "verify_not_mockup",
|
|
"checks": [
|
|
"결제 내역 목록 표시",
|
|
"기간 필터 존재",
|
|
"검색 기능 존재"
|
|
],
|
|
"expected": "정상 페이지 (목업 아님)"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "결제내역 페이지 구조 확인",
|
|
"action": "verify_elements",
|
|
"checks": [
|
|
"시작일 선택",
|
|
"종료일 선택",
|
|
"결제방법 필터",
|
|
"조회 버튼"
|
|
],
|
|
"expected": "결제내역 조회 폼 정상 표시"
|
|
},
|
|
{
|
|
"id": 4,
|
|
"phase": "FILTER",
|
|
"name": "[FILTER] 기간 필터 - 시작일",
|
|
"action": "fill",
|
|
"target": "input[type='date']:first-of-type, input[name*='start']",
|
|
"value": "2025-01-01",
|
|
"expected": "시작일 입력"
|
|
},
|
|
{
|
|
"id": 5,
|
|
"phase": "FILTER",
|
|
"name": "[FILTER] 기간 필터 - 종료일",
|
|
"action": "fill",
|
|
"target": "input[type='date']:last-of-type, input[name*='end']",
|
|
"value": "2025-12-31",
|
|
"expected": "종료일 입력"
|
|
},
|
|
{
|
|
"id": 6,
|
|
"phase": "FILTER",
|
|
"name": "[FILTER] 조회 버튼 클릭",
|
|
"action": "click",
|
|
"target": "button:has-text('조회'), button:has-text('검색')",
|
|
"expected": {
|
|
"data_loaded": true,
|
|
"api_call": "GET /api/v1/payments"
|
|
}
|
|
},
|
|
{
|
|
"id": 7,
|
|
"phase": "READ",
|
|
"name": "[READ] 결제 테이블 구조 확인",
|
|
"action": "verify_table",
|
|
"checks": [
|
|
"결제일 컬럼 표시",
|
|
"결제금액 컬럼 표시",
|
|
"결제방법 컬럼 표시",
|
|
"상태 컬럼 표시"
|
|
],
|
|
"expected": "결제 테이블 정상 표시"
|
|
},
|
|
{
|
|
"id": 8,
|
|
"phase": "READ",
|
|
"name": "[READ] 결제 데이터 표시 확인",
|
|
"action": "verify_detail",
|
|
"checks": [
|
|
"테이블에 데이터 행 존재 또는 '데이터 없음' 메시지",
|
|
"금액 포맷 정상"
|
|
],
|
|
"expected": "결제 데이터 정상 표시"
|
|
},
|
|
{
|
|
"id": 9,
|
|
"phase": "FILTER",
|
|
"name": "[FILTER] 결제방법 필터 테스트",
|
|
"action": "click",
|
|
"target": "select[name*='method'], button:has-text('결제방법'), [class*='filter']:has-text('방법')",
|
|
"expected": "결제방법 필터 옵션 표시"
|
|
},
|
|
{
|
|
"id": 10,
|
|
"phase": "FILTER",
|
|
"name": "[FILTER] 상태 필터 테스트",
|
|
"action": "verify_elements",
|
|
"checks": [
|
|
"완료/취소/대기 등 상태 필터 가능"
|
|
],
|
|
"expected": "상태 필터 기능 확인"
|
|
},
|
|
{
|
|
"id": 11,
|
|
"phase": "READ",
|
|
"name": "[READ] 결제 상세 조회",
|
|
"action": "click",
|
|
"target": "table tbody tr:first-child, [class*='list'] [class*='item']:first-child",
|
|
"expected": {
|
|
"detail_view": true
|
|
}
|
|
},
|
|
{
|
|
"id": 12,
|
|
"name": "결제 상세 정보 확인",
|
|
"action": "verify_detail",
|
|
"checks": [
|
|
"결제일시 상세",
|
|
"결제금액 상세",
|
|
"결제방법 상세",
|
|
"거래번호/승인번호"
|
|
],
|
|
"expected": "결제 상세 정보 표시"
|
|
},
|
|
{
|
|
"id": 13,
|
|
"name": "목록으로 돌아가기",
|
|
"action": "click_if_exists",
|
|
"target": "button:has-text('목록'), button:has-text('뒤로'), [class*='back']",
|
|
"expected": "목록 페이지로 복귀"
|
|
},
|
|
{
|
|
"id": 14,
|
|
"name": "필수 검증 #1: 엑셀 다운로드",
|
|
"action": "click",
|
|
"target": "button:has-text('엑셀'), button:has-text('Excel'), button:has-text('다운로드')",
|
|
"critical": true,
|
|
"verify": {
|
|
"api_call": "GET /api/v1/payments/export",
|
|
"file_download": true
|
|
},
|
|
"expected": "엑셀 파일 다운로드"
|
|
},
|
|
{
|
|
"id": 15,
|
|
"name": "합계 금액 표시 확인",
|
|
"action": "verify_elements",
|
|
"checks": [
|
|
"총 결제금액 합계 표시"
|
|
],
|
|
"expected": "합계 영역 표시"
|
|
}
|
|
],
|
|
"expectedAPIs": [
|
|
{
|
|
"method": "GET",
|
|
"endpoint": "/api/v1/payments",
|
|
"description": "결제내역 목록 조회"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"endpoint": "/api/v1/payments/:id",
|
|
"description": "결제 상세 조회"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"endpoint": "/api/v1/payments/export",
|
|
"description": "결제내역 엑셀 다운로드"
|
|
}
|
|
],
|
|
"requiredVerifications": [
|
|
{
|
|
"id": 1,
|
|
"name": "엑셀 다운로드",
|
|
"steps": [14],
|
|
"criteria": "API 호출 + 파일 다운로드"
|
|
},
|
|
{
|
|
"id": 5,
|
|
"name": "목업 페이지 감지",
|
|
"steps": [2],
|
|
"criteria": "결제 내역 목록, 기간 필터, 검색 기능 존재"
|
|
}
|
|
],
|
|
"rollbackPlan": {
|
|
"note": "조회 전용 페이지로 데이터 변경 없음"
|
|
}
|
|
}
|