- accounting-client (9→18): A등급, 거래처 CRUD - accounting-bank-transaction (3→15): B등급, 조회/필터 - accounting-card-history (3→15): B등급, 조회/필터 - accounting-expense-forecast (3→15): B등급, 조회/필터 - accounting-bad-debt (3→18): A등급, 악성채권 CRUD - accounting-sales (3→15): B등급, 매출 조회 - accounting-purchase (3→15): B등급, 매입 조회 - shipment-dispatch (3→18): A등급, 배차 CRUD - board-management (3→18): A등급, 게시판 CRUD - hr-department (6→18): A등급, 부서 CRUD - hr-card (4→18): A등급, 카드 CRUD - hr-attendance-status (4→15): B등급, 근태현황 조회 공통 개선: - searchWithinParent, closeOtherMenus 플래그 추가 - expectedAPIs 추가 - rollbackPlan 추가 - A등급: testData + CRUD 흐름 완성
197 lines
5.1 KiB
JSON
197 lines
5.1 KiB
JSON
{
|
|
"id": "accounting-card-history",
|
|
"name": "카드내역조회 테스트",
|
|
"screenshotPolicy": {
|
|
"onErrorOnly": true,
|
|
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
|
|
},
|
|
"description": "회계관리 > 카드내역조회 메뉴의 카드 사용내역 조회/필터/엑셀 기능 테스트",
|
|
"baseUrl": "https://dev.codebridge-x.com",
|
|
"menuNavigation": {
|
|
"level1": "회계관리",
|
|
"level2": "카드내역조회",
|
|
"expectedUrl": "/accounting/card-transactions",
|
|
"searchWithinParent": true,
|
|
"closeOtherMenus": true
|
|
},
|
|
"auth": {
|
|
"username": "TestUser5",
|
|
"password": "password123!"
|
|
},
|
|
"steps": [
|
|
{
|
|
"id": 1,
|
|
"name": "메뉴 진입: 회계관리 > 카드내역조회",
|
|
"action": "menu_navigate",
|
|
"level1": "회계관리",
|
|
"level2": "카드내역조회",
|
|
"expected": {
|
|
"url_contains": "/accounting",
|
|
"visible": ["카드", "내역"]
|
|
}
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "필수 검증 #5: 목업 페이지 감지",
|
|
"action": "verify_not_mockup",
|
|
"checks": [
|
|
"카드 사용내역 목록 표시",
|
|
"카드 선택 가능",
|
|
"기간 필터 존재"
|
|
],
|
|
"expected": "정상 페이지 (목업 아님)"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "카드내역 테이블 구조 확인",
|
|
"action": "verify_table",
|
|
"checks": [
|
|
"사용일 컬럼",
|
|
"카드명 컬럼",
|
|
"가맹점 컬럼",
|
|
"금액 컬럼",
|
|
"승인번호 컬럼"
|
|
],
|
|
"expected": "카드내역 테이블 표시"
|
|
},
|
|
{
|
|
"id": 4,
|
|
"name": "카드 선택 드롭다운 확인",
|
|
"action": "verify_elements",
|
|
"checks": [
|
|
"카드 선택 가능"
|
|
],
|
|
"expected": "카드 선택 가능"
|
|
},
|
|
{
|
|
"id": 5,
|
|
"phase": "FILTER",
|
|
"name": "[FILTER] 기간 필터 - 시작일",
|
|
"action": "click",
|
|
"target": "input[type='date']:first-of-type, [class*='datepicker']:first-of-type",
|
|
"expected": "날짜 선택 열림"
|
|
},
|
|
{
|
|
"id": 6,
|
|
"phase": "FILTER",
|
|
"name": "[FILTER] 기간 필터 적용",
|
|
"action": "click",
|
|
"target": "button:has-text('조회'), button:has-text('검색'), button:has-text('적용')",
|
|
"expected": "필터 적용됨"
|
|
},
|
|
{
|
|
"id": 7,
|
|
"phase": "FILTER",
|
|
"name": "[FILTER] 필터 결과 확인",
|
|
"action": "verify_detail",
|
|
"checks": [
|
|
"필터된 데이터 표시 또는 결과 없음"
|
|
],
|
|
"expected": "필터 동작 확인"
|
|
},
|
|
{
|
|
"id": 8,
|
|
"phase": "READ",
|
|
"name": "[READ] 카드 사용내역 상세 보기",
|
|
"action": "click",
|
|
"target": "table tbody tr:first-child",
|
|
"expected": {
|
|
"detail_view": true
|
|
}
|
|
},
|
|
{
|
|
"id": 9,
|
|
"name": "상세 정보 확인",
|
|
"action": "verify_detail",
|
|
"checks": [
|
|
"사용일시 표시",
|
|
"가맹점 정보 표시",
|
|
"금액 표시",
|
|
"승인번호 표시"
|
|
],
|
|
"expected": "카드 사용 상세 정보 표시"
|
|
},
|
|
{
|
|
"id": 10,
|
|
"name": "목록으로 돌아가기",
|
|
"action": "click",
|
|
"target": "button:has-text('목록'), a:has-text('목록'), [class*='back']",
|
|
"expected": "목록 페이지로 복귀"
|
|
},
|
|
{
|
|
"id": 11,
|
|
"name": "사용금액 합계 확인",
|
|
"action": "verify_elements",
|
|
"checks": [
|
|
"합계 금액 표시"
|
|
],
|
|
"expected": "사용금액 합계 표시"
|
|
},
|
|
{
|
|
"id": 12,
|
|
"name": "카드별 사용 현황 확인",
|
|
"action": "verify_elements",
|
|
"checks": [
|
|
"카드별 사용 현황 또는 통계"
|
|
],
|
|
"expected": "카드별 현황 표시"
|
|
},
|
|
{
|
|
"id": 13,
|
|
"name": "엑셀 다운로드 버튼 확인",
|
|
"action": "verify_elements",
|
|
"checks": [
|
|
"엑셀 다운로드 버튼 존재"
|
|
],
|
|
"expected": "엑셀 다운로드 기능 표시"
|
|
},
|
|
{
|
|
"id": 14,
|
|
"name": "인쇄 버튼 확인",
|
|
"action": "verify_elements",
|
|
"checks": [
|
|
"인쇄 버튼 존재"
|
|
],
|
|
"expected": "인쇄 기능 표시"
|
|
},
|
|
{
|
|
"id": 15,
|
|
"name": "페이지네이션 확인",
|
|
"action": "verify_elements",
|
|
"checks": [
|
|
"페이지 번호 표시"
|
|
],
|
|
"expected": "페이지네이션 표시"
|
|
}
|
|
],
|
|
"expectedAPIs": [
|
|
{
|
|
"method": "GET",
|
|
"endpoint": "/api/v1/accounting/card-transactions",
|
|
"description": "카드 사용내역 조회"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"endpoint": "/api/v1/accounting/cards",
|
|
"description": "카드 목록 조회"
|
|
}
|
|
],
|
|
"requiredVerifications": [
|
|
{
|
|
"id": 3,
|
|
"name": "검색/필터",
|
|
"steps": [5, 6, 7],
|
|
"criteria": "기간 필터 동작"
|
|
},
|
|
{
|
|
"id": 5,
|
|
"name": "목업 페이지 감지",
|
|
"steps": [2],
|
|
"criteria": "카드내역 목록, 카드 선택, 기간 필터 존재"
|
|
}
|
|
],
|
|
"rollbackPlan": {
|
|
"note": "조회 전용 페이지로 데이터 변경 없음"
|
|
}
|
|
}
|