refactor: 회계/인사/게시판/출고 시나리오 A/B등급 개선 (12개)
- 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 흐름 완성
This commit is contained in:
@@ -5,12 +5,14 @@
|
||||
"onErrorOnly": true,
|
||||
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
|
||||
},
|
||||
"description": "인사관리 > 근태현황 메뉴의 출퇴근 현황 조회 기능 테스트",
|
||||
"description": "인사관리 > 근태현황 메뉴의 출퇴근 현황 조회/필터/출퇴근 기능 테스트",
|
||||
"baseUrl": "https://dev.codebridge-x.com",
|
||||
"menuNavigation": {
|
||||
"level1": "인사관리",
|
||||
"level2": "근태현황",
|
||||
"expectedUrl": "/hr/attendance"
|
||||
"expectedUrl": "/hr/attendance",
|
||||
"searchWithinParent": true,
|
||||
"closeOtherMenus": true
|
||||
},
|
||||
"auth": {
|
||||
"username": "TestUser5",
|
||||
@@ -34,39 +36,176 @@
|
||||
"action": "verify_not_mockup",
|
||||
"checks": [
|
||||
"출퇴근 현황 표시",
|
||||
"날짜 선택 가능"
|
||||
"날짜 선택 가능",
|
||||
"출근/퇴근 버튼 존재"
|
||||
],
|
||||
"expected": "정상 페이지 (목업 아님)"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"name": "출퇴근 버튼 확인",
|
||||
"action": "verify_elements",
|
||||
"checks": [
|
||||
"출근 버튼 존재",
|
||||
"퇴근 버튼 존재"
|
||||
],
|
||||
"expected": "출퇴근 버튼 표시"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"name": "근태 현황 테이블 확인",
|
||||
"name": "근태 현황 테이블 구조 확인",
|
||||
"action": "verify_table",
|
||||
"checks": [
|
||||
"날짜 컬럼",
|
||||
"출근시간 컬럼",
|
||||
"퇴근시간 컬럼",
|
||||
"근무시간 컬럼"
|
||||
"근무시간 컬럼",
|
||||
"상태 컬럼"
|
||||
],
|
||||
"expected": "근태 현황 테이블 표시"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"name": "오늘 근태 상태 확인",
|
||||
"action": "verify_elements",
|
||||
"checks": [
|
||||
"오늘 날짜 표시",
|
||||
"현재 근무 상태 표시"
|
||||
],
|
||||
"expected": "오늘 근태 상태 표시"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"name": "출근 버튼 확인",
|
||||
"action": "verify_elements",
|
||||
"checks": [
|
||||
"출근 버튼 존재"
|
||||
],
|
||||
"expected": "출근 버튼 표시"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"name": "퇴근 버튼 확인",
|
||||
"action": "verify_elements",
|
||||
"checks": [
|
||||
"퇴근 버튼 존재"
|
||||
],
|
||||
"expected": "퇴근 버튼 표시"
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"phase": "FILTER",
|
||||
"name": "[FILTER] 기간 필터 - 월 선택",
|
||||
"action": "click",
|
||||
"target": "input[type='month'], select[name*='month'], [class*='month-picker']",
|
||||
"expected": "월 선택 열림"
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"phase": "FILTER",
|
||||
"name": "[FILTER] 조회 적용",
|
||||
"action": "click",
|
||||
"target": "button:has-text('조회'), button:has-text('검색'), button:has-text('적용')",
|
||||
"expected": "필터 적용됨"
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"phase": "FILTER",
|
||||
"name": "[FILTER] 필터 결과 확인",
|
||||
"action": "verify_detail",
|
||||
"checks": [
|
||||
"선택한 월의 근태 데이터 표시"
|
||||
],
|
||||
"expected": "필터 동작 확인"
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"name": "근무 시간 통계 확인",
|
||||
"action": "verify_elements",
|
||||
"checks": [
|
||||
"총 근무시간 표시",
|
||||
"정상 출근 일수 표시"
|
||||
],
|
||||
"expected": "근무 통계 표시"
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"name": "지각/조퇴/결근 통계 확인",
|
||||
"action": "verify_elements",
|
||||
"checks": [
|
||||
"지각 횟수 표시",
|
||||
"조퇴 횟수 표시",
|
||||
"결근 횟수 표시"
|
||||
],
|
||||
"expected": "근태 이상 통계 표시"
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"phase": "READ",
|
||||
"name": "[READ] 특정 일자 상세 보기",
|
||||
"action": "click",
|
||||
"target": "table tbody tr:first-child",
|
||||
"expected": {
|
||||
"detail_view": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"name": "상세 근태 정보 확인",
|
||||
"action": "verify_detail",
|
||||
"checks": [
|
||||
"출근 시간 표시",
|
||||
"퇴근 시간 표시",
|
||||
"근무 시간 표시"
|
||||
],
|
||||
"expected": "상세 근태 정보 표시"
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"name": "엑셀 다운로드 버튼 확인",
|
||||
"action": "verify_elements",
|
||||
"checks": [
|
||||
"엑셀 다운로드 버튼 존재"
|
||||
],
|
||||
"expected": "엑셀 다운로드 기능 표시"
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"name": "인쇄 버튼 확인",
|
||||
"action": "verify_elements",
|
||||
"checks": [
|
||||
"인쇄 버튼 존재"
|
||||
],
|
||||
"expected": "인쇄 기능 표시"
|
||||
}
|
||||
],
|
||||
"expectedAPIs": [
|
||||
{
|
||||
"method": "GET",
|
||||
"endpoint": "/api/v1/hr/attendance",
|
||||
"description": "근태 현황 조회"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"endpoint": "/api/v1/hr/attendance/check-in",
|
||||
"description": "출근 체크"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"endpoint": "/api/v1/hr/attendance/check-out",
|
||||
"description": "퇴근 체크"
|
||||
},
|
||||
{
|
||||
"method": "GET",
|
||||
"endpoint": "/api/v1/hr/attendance/summary",
|
||||
"description": "근태 통계 조회"
|
||||
}
|
||||
],
|
||||
"requiredVerifications": [
|
||||
{
|
||||
"id": 3,
|
||||
"name": "검색/필터",
|
||||
"steps": [7, 8, 9],
|
||||
"criteria": "기간 필터 동작"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"name": "목업 페이지 감지",
|
||||
"steps": [2],
|
||||
"criteria": "출퇴근 현황, 동작 버튼 확인"
|
||||
"criteria": "근태 현황, 날짜 선택, 출퇴근 버튼 존재"
|
||||
}
|
||||
]
|
||||
],
|
||||
"rollbackPlan": {
|
||||
"note": "조회 전용 페이지로 데이터 변경 없음 (출퇴근 체크는 별도 테스트)"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user