refactor: 품질검사, 설정관리 시나리오 A/B등급으로 개선
개선된 시나리오: - quality-inspection.json: C→A (14→18 steps, CRUD 전체) - settings-bank-account.json: C→A (4→18 steps, 계좌 CRUD) - settings-position.json: C→A (4→18 steps, 직책 CRUD) - settings-rank.json: C→A (4→18 steps, 직급 CRUD) - accounting-receivable.json: C→B (3→15 steps, 조회/필터/엑셀) - settings-vacation-policy.json: C→B (4→12 steps, 정책 수정) - settings-work-schedule.json: C→B (4→12 steps, 일정 수정) - settings-attendance.json: C→B (4→12 steps, 설정 수정) - inspection-management.json: 메뉴 플래그 추가 공통 개선: - searchWithinParent, closeOtherMenus 플래그 추가 - testData, expectedAPIs, requiredVerifications 추가 - rollbackPlan 추가
This commit is contained in:
@@ -5,17 +5,24 @@
|
||||
"onErrorOnly": true,
|
||||
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
|
||||
},
|
||||
"description": "회계관리 > 미수금현황 메뉴의 미수금 조회 기능 테스트",
|
||||
"description": "회계관리 > 미수금현황 메뉴의 미수금 조회/필터/검색/엑셀 다운로드 기능 테스트",
|
||||
"baseUrl": "https://dev.codebridge-x.com",
|
||||
"menuNavigation": {
|
||||
"level1": "회계관리",
|
||||
"level2": "미수금현황",
|
||||
"expectedUrl": "/accounting/receivables-status"
|
||||
"expectedUrl": "/accounting/receivables-status",
|
||||
"searchWithinParent": true,
|
||||
"closeOtherMenus": true
|
||||
},
|
||||
"auth": {
|
||||
"username": "TestUser5",
|
||||
"password": "password123!"
|
||||
},
|
||||
"testData": {
|
||||
"filterStartDate": "2026-01-01",
|
||||
"filterEndDate": "2026-02-28",
|
||||
"searchKeyword": "테스트"
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"id": 1,
|
||||
@@ -24,8 +31,8 @@
|
||||
"level1": "회계관리",
|
||||
"level2": "미수금현황",
|
||||
"expected": {
|
||||
"url_contains": "/accounting",
|
||||
"visible": ["미수금"]
|
||||
"url_contains": "/accounting/receivables",
|
||||
"visible": ["미수금현황", "미수금"]
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -33,27 +40,201 @@
|
||||
"name": "필수 검증 #5: 목업 페이지 감지",
|
||||
"action": "verify_not_mockup",
|
||||
"checks": [
|
||||
"미수금 목록 표시"
|
||||
"미수금 목록 표시",
|
||||
"검색/필터 기능 존재",
|
||||
"날짜 선택 가능"
|
||||
],
|
||||
"expected": "정상 페이지 (목업 아님)"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"name": "미수금 목록 확인",
|
||||
"name": "미수금 테이블 구조 확인",
|
||||
"action": "verify_table",
|
||||
"checks": [
|
||||
"거래처 컬럼",
|
||||
"미수금액 컬럼"
|
||||
"미수금액 컬럼",
|
||||
"매출일 컬럼",
|
||||
"입금예정일 컬럼",
|
||||
"연체일수 컬럼"
|
||||
],
|
||||
"expected": "미수금 목록 표시"
|
||||
"expected": "미수금 테이블 컬럼 정상 표시"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"name": "통계 카드 확인",
|
||||
"action": "verify_elements",
|
||||
"checks": [
|
||||
"총 미수금액 표시",
|
||||
"정상 미수금 표시",
|
||||
"연체 미수금 표시"
|
||||
],
|
||||
"expected": "미수금 통계 카드 표시"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"phase": "FILTER",
|
||||
"name": "[FILTER] 기간 필터 적용",
|
||||
"action": "date_range",
|
||||
"startDate": "2026-01-01",
|
||||
"endDate": "2026-02-28",
|
||||
"expected": {
|
||||
"filter_applied": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"phase": "FILTER",
|
||||
"name": "[FILTER] 필터 결과 확인",
|
||||
"action": "verify_data",
|
||||
"expected": {
|
||||
"data_filtered": true,
|
||||
"table_updated": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"phase": "SEARCH",
|
||||
"name": "[SEARCH] 거래처 검색",
|
||||
"action": "search",
|
||||
"target": "input[placeholder*='검색'], input[placeholder*='거래처']",
|
||||
"value": "테스트",
|
||||
"expected": {
|
||||
"data_filtered": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"phase": "SEARCH",
|
||||
"name": "[SEARCH] 검색 결과 확인",
|
||||
"action": "verify_data",
|
||||
"search": "테스트",
|
||||
"expected": {
|
||||
"row_exists": true,
|
||||
"filtered_by_keyword": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"phase": "READ",
|
||||
"name": "[READ] 미수금 상세 클릭",
|
||||
"action": "click",
|
||||
"target": "table tbody tr:first-child",
|
||||
"expected": {
|
||||
"detail_modal_or_page": true,
|
||||
"visible": ["거래처", "미수금액", "상세"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"phase": "READ",
|
||||
"name": "[READ] 상세 정보 확인",
|
||||
"action": "verify_detail",
|
||||
"checks": [
|
||||
"거래처명 표시",
|
||||
"미수금액 표시",
|
||||
"매출 내역 표시"
|
||||
],
|
||||
"expected": "미수금 상세 정보 정상 표시"
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"phase": "READ",
|
||||
"name": "[READ] 목록으로 복귀",
|
||||
"action": "click",
|
||||
"target": "button:has-text('목록'), button:has-text('닫기')",
|
||||
"expected": {
|
||||
"url_contains": "/accounting/receivables"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"phase": "EXPORT",
|
||||
"name": "[EXPORT] 엑셀 다운로드 버튼 확인",
|
||||
"action": "verify_elements",
|
||||
"checks": [
|
||||
"엑셀 다운로드 버튼 존재"
|
||||
],
|
||||
"expected": "다운로드 기능 존재"
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"phase": "EXPORT",
|
||||
"name": "[EXPORT] 필수 검증 #1: 엑셀 다운로드",
|
||||
"action": "click",
|
||||
"target": "button:has-text('엑셀'), button:has-text('다운로드'), button:has-text('내보내기')",
|
||||
"critical": true,
|
||||
"verify": {
|
||||
"file_download": true,
|
||||
"file_type": "xlsx",
|
||||
"api_call": "GET /api/v1/receivables/export"
|
||||
},
|
||||
"expected": "엑셀 파일 다운로드"
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"phase": "SORT",
|
||||
"name": "[SORT] 컬럼 정렬 테스트",
|
||||
"action": "click",
|
||||
"target": "th:has-text('미수금액')",
|
||||
"expected": {
|
||||
"sort_applied": true,
|
||||
"data_reordered": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"name": "연체 현황 탭 확인",
|
||||
"action": "click",
|
||||
"target": "button:has-text('연체'), [role='tab']:has-text('연체')",
|
||||
"expected": {
|
||||
"tab_active": true,
|
||||
"filtered_data": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"expectedAPIs": [
|
||||
{
|
||||
"method": "GET",
|
||||
"endpoint": "/api/v1/receivables",
|
||||
"description": "미수금 목록 조회"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"endpoint": "/api/v1/receivables/summary",
|
||||
"description": "미수금 통계 조회"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"endpoint": "/api/v1/receivables/{id}",
|
||||
"description": "미수금 상세 조회"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"endpoint": "/api/v1/receivables/export",
|
||||
"description": "미수금 엑셀 다운로드"
|
||||
}
|
||||
],
|
||||
"requiredVerifications": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "파일 다운로드",
|
||||
"steps": [13],
|
||||
"criteria": "엑셀 파일 다운로드 동작"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"name": "검색/필터",
|
||||
"steps": [5, 6, 7, 8],
|
||||
"criteria": "기간 필터 및 검색 기능"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"name": "목업 페이지 감지",
|
||||
"steps": [2],
|
||||
"criteria": "미수금 조회 기능 확인"
|
||||
"criteria": "미수금 목록, 필터, 다운로드 버튼 존재"
|
||||
}
|
||||
]
|
||||
],
|
||||
"rollbackPlan": {
|
||||
"note": "미수금현황은 조회 전용 페이지로 CRUD 없음 (데이터 생성/수정/삭제 없음)"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user