196 lines
5.0 KiB
JSON
196 lines
5.0 KiB
JSON
{
|
|
"id": "accounting-bank-transaction",
|
|
"name": "입출금계좌조회 테스트",
|
|
"screenshotPolicy": {
|
|
"onErrorOnly": true,
|
|
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
|
|
},
|
|
"description": "회계관리 > 입출금계좌조회 메뉴의 계좌 거래내역 조회/필터/엑셀 기능 테스트",
|
|
"baseUrl": "https://dev.codebridge-x.com",
|
|
"menuNavigation": {
|
|
"level1": "회계관리",
|
|
"level2": "입출금계좌조회",
|
|
"expectedUrl": "/accounting/bank-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_if_exists",
|
|
"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/bank-transactions",
|
|
"description": "입출금 내역 조회"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"endpoint": "/api/v1/accounting/bank-accounts",
|
|
"description": "계좌 목록 조회"
|
|
}
|
|
],
|
|
"requiredVerifications": [
|
|
{
|
|
"id": 3,
|
|
"name": "검색/필터",
|
|
"steps": [5, 6, 7],
|
|
"criteria": "기간 필터 동작"
|
|
},
|
|
{
|
|
"id": 5,
|
|
"name": "목업 페이지 감지",
|
|
"steps": [2],
|
|
"criteria": "거래내역 목록, 계좌 선택, 기간 필터 존재"
|
|
}
|
|
],
|
|
"rollbackPlan": {
|
|
"note": "조회 전용 페이지로 데이터 변경 없음"
|
|
}
|
|
}
|