refactor: hr-employee, hr-salary, shipment-management 시나리오 A등급으로 개선

- hr-employee: B등급→A등급 (12→18 steps, 사원 CRUD)
- hr-salary: C등급→A등급 (4→17 steps, 급여 필터/수정/엑셀)
- shipment-management: C등급→A등급 (3→18 steps, 출고 CRUD)
This commit is contained in:
김보곤
2026-02-03 13:30:56 +09:00
parent 829f9af15e
commit d10f4ee7a1
3 changed files with 700 additions and 80 deletions

View File

@@ -5,17 +5,34 @@
"onErrorOnly": true, "onErrorOnly": true,
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"] "captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
}, },
"description": "인사관리 > 사원관리 메뉴의 목록 조회, 검색, CRUD 기능 테스트", "description": "인사관리 > 사원관리 메뉴의 사원 조회/등록/수정/삭제 전체 CRUD 테스트",
"baseUrl": "https://dev.codebridge-x.com", "baseUrl": "https://dev.codebridge-x.com",
"menuNavigation": { "menuNavigation": {
"level1": "인사관리", "level1": "인사관리",
"level2": "사원관리", "level2": "사원관리",
"expectedUrl": "/hr/employee-management" "expectedUrl": "/hr/employee-management",
"searchWithinParent": true,
"closeOtherMenus": true
}, },
"auth": { "auth": {
"username": "TestUser5", "username": "TestUser5",
"password": "password123!" "password": "password123!"
}, },
"testData": {
"create": {
"name": "E2E_TEST_사원",
"email": "e2e_test@test.com",
"userId": "e2e_test_user",
"password": "Test1234!",
"department": "개발팀",
"position": "사원",
"hireDate": "2026-02-03"
},
"update": {
"position": "대리",
"department": "기획팀"
}
},
"steps": [ "steps": [
{ {
"id": 1, "id": 1,
@@ -33,8 +50,8 @@
"name": "필수 검증 #5: 목업 페이지 감지", "name": "필수 검증 #5: 목업 페이지 감지",
"action": "verify_not_mockup", "action": "verify_not_mockup",
"checks": [ "checks": [
"사원 목록 표시",
"검색 입력 필드 존재", "검색 입력 필드 존재",
"테이블 데이터 표시",
"사원 등록 버튼 존재" "사원 등록 버튼 존재"
], ],
"expected": "정상 페이지 (목업 아님)" "expected": "정상 페이지 (목업 아님)"
@@ -47,97 +64,194 @@
"사원명 컬럼", "사원명 컬럼",
"부서 컬럼", "부서 컬럼",
"직급 컬럼", "직급 컬럼",
"입사일 컬럼" "입사일 컬럼",
"이메일 컬럼"
], ],
"expected": "주요 컬럼 존재" "expected": "사원 테이블 컬럼 정상 표시"
}, },
{ {
"id": 4, "id": 4,
"name": "검색 기능 테스트", "name": "검색 기능 테스트",
"action": "fill", "action": "search",
"target": "input[placeholder*='검색']", "target": "input[placeholder*='검색']",
"value": "홍길동", "value": "홍길동",
"expected": "검색어 입력됨" "expected": {
"data_filtered": true
}
}, },
{ {
"id": 5, "id": 5,
"name": "검색 결과 확인", "phase": "CREATE",
"action": "wait", "name": "[CREATE] 사원 등록 버튼 클릭",
"duration": 500, "action": "click",
"expected": "검색 결과 표시" "target": "button:has-text('등록'), button:has-text('사원 등록'), button:has-text('추가')",
"expected": {
"modal_or_page": true,
"title": "사원 등록"
}
}, },
{ {
"id": 6, "id": 6,
"name": "검색 초기화", "phase": "CREATE",
"action": "clear", "name": "[CREATE] 사원 정보 입력",
"target": "input[placeholder*='검색']", "action": "fill_form",
"expected": "검색어 삭제" "fields": [
{"name": "이름", "type": "text", "value": "E2E_TEST_사원_{timestamp}"},
{"name": "이메일", "type": "email", "value": "e2e_test_{timestamp}@test.com"},
{"name": "아이디", "type": "text", "value": "e2e_test_{timestamp}"},
{"name": "비밀번호", "type": "password", "value": "Test1234!"},
{"name": "비밀번호 확인", "type": "password", "value": "Test1234!"},
{"name": "부서", "type": "select", "value": "개발팀"},
{"name": "직급", "type": "select", "value": "사원"},
{"name": "입사일", "type": "date", "value": "2026-02-03"}
],
"note": "타임스탬프로 고유성 보장"
}, },
{ {
"id": 7, "id": 7,
"name": "사원 등록 버튼 클릭", "phase": "CREATE",
"name": "[CREATE] 필수 검증 #2: 등록 저장",
"action": "click", "action": "click",
"target": "사원 등록", "target": "button:has-text('저장'), button:has-text('등록')",
"expected": "등록 폼/모달 열림" "critical": true,
"verify": {
"url_maintained": true,
"no_error_page": true,
"api_call": "POST /api/v1/employees",
"toast": "등록|완료|성공"
},
"expected": "사원 등록 완료"
},
{
"id": "7-modal-close",
"phase": "CREATE",
"name": "[CREATE] 모달 닫기 확인",
"action": "close_modal_if_open",
"expected": "모달 닫힘"
}, },
{ {
"id": 8, "id": 8,
"name": "등록 폼 확인", "phase": "CREATE",
"action": "verify_elements", "name": "[CREATE] 등록 결과 확인",
"checks": [ "action": "verify_data",
"이름 입력 필드", "search": "E2E_TEST_사원",
"이메일 입력 필드", "expected": {
"아이디 입력 필드", "row_exists": true,
"비밀번호 입력 필드", "contains": ["E2E_TEST", "개발팀", "사원"]
"입사일 입력 필드" }
],
"expected": "등록 폼 표시"
}, },
{ {
"id": 9, "id": 9,
"name": "등록 폼 닫기", "phase": "READ",
"name": "[READ] 사원 상세 페이지 진입",
"action": "click", "action": "click",
"target": "취소", "target": "table tbody tr:has-text('E2E_TEST')",
"expected": "등록 폼 닫힘" "expected": {
"url_contains": "/hr/employee",
"visible": ["사원 상세", "수정", "삭제"]
}
}, },
{ {
"id": 10, "id": 10,
"name": "테이블 행 클릭 - 상세 페이지", "phase": "READ",
"action": "click", "name": "[READ] 상세 정보 확인",
"target": "table tbody tr:first-child", "action": "verify_detail",
"expected": "상세 페이지로 이동" "checks": [
"이름: E2E_TEST_사원",
"부서: 개발팀",
"직급: 사원",
"입사일: 2026-02-03"
],
"expected": "입력한 데이터와 일치"
}, },
{ {
"id": 11, "id": 11,
"name": "상세 페이지 요소 확인", "phase": "UPDATE",
"action": "verify_elements", "name": "[UPDATE] 수정 모드 진입",
"checks": [ "action": "click",
"사원 정보 표시", "target": "button:has-text('수정')",
"목록 버튼 존재", "expected": {
"수정 버튼 존재" "url_contains": "mode=edit",
], "fields_editable": true
"expected": "상세 정보 정상 표시" }
}, },
{ {
"id": 12, "id": 12,
"name": "목록으로 돌아가기", "phase": "UPDATE",
"action": "click", "name": "[UPDATE] 부서 변경",
"target": "목록", "action": "select",
"expected": "목록 페이지로 복귀" "target": "select[name*='department'], [data-field='department']",
} "value": "기획팀"
],
"requiredVerifications": [
{
"id": 3,
"name": "검색/필터",
"steps": [4, 5, 6],
"criteria": "검색 시 데이터 변화 확인"
}, },
{ {
"id": 5, "id": 13,
"name": "목업 페이지 감지", "phase": "UPDATE",
"steps": [2], "name": "[UPDATE] 직급 변경",
"criteria": "입력 필드, 동작 버튼, 테이블 데이터 확인" "action": "select",
"target": "select[name*='position'], [data-field='position']",
"value": "대리"
},
{
"id": 14,
"phase": "UPDATE",
"name": "[UPDATE] 필수 검증 #2: 수정 저장",
"action": "click",
"target": "button:has-text('저장')",
"critical": true,
"verify": {
"url_maintained": true,
"no_error_page": true,
"api_call": "PUT /api/v1/employees/",
"toast": "수정|완료|성공"
},
"expected": "수정 완료"
},
{
"id": 15,
"phase": "UPDATE",
"name": "[UPDATE] 수정 결과 확인",
"action": "verify_detail",
"checks": [
"부서: 기획팀",
"직급: 대리"
],
"expected": "수정된 데이터 반영"
},
{
"id": 16,
"phase": "DELETE",
"name": "[DELETE] 삭제 버튼 클릭",
"action": "click",
"target": "button:has-text('삭제')",
"expected": {
"confirm_dialog": true,
"dialog_message": "삭제|정말|퇴사"
}
},
{
"id": 17,
"phase": "DELETE",
"name": "[DELETE] 필수 검증 #6: 삭제 확인",
"action": "click",
"target": "button:has-text('확인'), button:has-text('삭제')",
"critical": true,
"verify": {
"api_call": "DELETE /api/v1/employees/",
"toast": "삭제|퇴사|완료|성공",
"redirect": "/hr/employee"
},
"expected": "삭제 완료 및 목록 복귀"
},
{
"id": 18,
"phase": "DELETE",
"name": "[DELETE] 삭제 결과 확인",
"action": "verify_data",
"search": "E2E_TEST_사원",
"expected": {
"row_exists": false,
"message": "테스트 사원이 목록에서 제거됨"
}
} }
], ],
"expectedAPIs": [ "expectedAPIs": [
@@ -150,6 +264,53 @@
"method": "POST", "method": "POST",
"endpoint": "/api/v1/employees", "endpoint": "/api/v1/employees",
"description": "사원 등록" "description": "사원 등록"
},
{
"method": "GET",
"endpoint": "/api/v1/employees/{id}",
"description": "사원 상세 조회"
},
{
"method": "PUT",
"endpoint": "/api/v1/employees/{id}",
"description": "사원 수정"
},
{
"method": "DELETE",
"endpoint": "/api/v1/employees/{id}",
"description": "사원 삭제"
} }
] ],
"requiredVerifications": [
{
"id": 2,
"name": "등록/저장 버튼",
"steps": [7, 14],
"criteria": "API 호출 + 성공 토스트 + 데이터 반영"
},
{
"id": 3,
"name": "검색/필터",
"steps": [4],
"criteria": "검색 기능 동작"
},
{
"id": 5,
"name": "목업 페이지 감지",
"steps": [2],
"criteria": "사원 목록, 등록 버튼, 검색 필드 존재"
},
{
"id": 6,
"name": "삭제 기능",
"steps": [16, 17, 18],
"criteria": "DELETE API + 목록에서 제거"
}
],
"rollbackPlan": {
"onCreateFail": "모달 닫기",
"onUpdateFail": "테스트 사원 수동 삭제 필요",
"onDeleteFail": "테스트 사원 수동 삭제 필요",
"cleanupRequired": "E2E_TEST_ 접두사 사원은 테스트 데이터"
}
} }

View File

@@ -5,17 +5,24 @@
"onErrorOnly": true, "onErrorOnly": true,
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"] "captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
}, },
"description": "인사관리 > 급여관리 메뉴의 급여 조회/관리 기능 테스트", "description": "인사관리 > 급여관리 메뉴의 급여 조회/입력/수정/엑셀 다운로드 기능 테스트",
"baseUrl": "https://dev.codebridge-x.com", "baseUrl": "https://dev.codebridge-x.com",
"menuNavigation": { "menuNavigation": {
"level1": "인사관리", "level1": "인사관리",
"level2": "급여관리", "level2": "급여관리",
"expectedUrl": "/hr/salary-management" "expectedUrl": "/hr/salary-management",
"searchWithinParent": true,
"closeOtherMenus": true
}, },
"auth": { "auth": {
"username": "TestUser5", "username": "TestUser5",
"password": "password123!" "password": "password123!"
}, },
"testData": {
"filterYear": "2026",
"filterMonth": "02",
"updateBonus": "100000"
},
"steps": [ "steps": [
{ {
"id": 1, "id": 1,
@@ -34,40 +41,243 @@
"action": "verify_not_mockup", "action": "verify_not_mockup",
"checks": [ "checks": [
"급여 목록 표시", "급여 목록 표시",
"월/년도 선택 가능" "월/년도 선택 가능",
"엑셀 다운로드 버튼"
], ],
"expected": "정상 페이지 (목업 아님)" "expected": "정상 페이지 (목업 아님)"
}, },
{ {
"id": 3, "id": 3,
"name": "급여 테이블 확인", "name": "급여 테이블 구조 확인",
"action": "verify_table", "action": "verify_table",
"checks": [ "checks": [
"사원명 컬럼", "사원명 컬럼",
"부서 컬럼",
"기본급 컬럼", "기본급 컬럼",
"수당 컬럼", "수당 컬럼",
"공제 컬럼", "공제 컬럼",
"실수령액 컬럼" "실수령액 컬럼"
], ],
"expected": "급여 테이블 표시" "expected": "급여 테이블 컬럼 정상 표시"
}, },
{ {
"id": 4, "id": 4,
"name": "월 선택 필터 확인", "phase": "FILTER",
"name": "[FILTER] 년도 선택",
"action": "select",
"target": "select[name*='year'], [data-field='year']",
"value": "2026",
"expected": {
"filter_applied": true
}
},
{
"id": 5,
"phase": "FILTER",
"name": "[FILTER] 월 선택",
"action": "select",
"target": "select[name*='month'], [data-field='month']",
"value": "02",
"expected": {
"filter_applied": true
}
},
{
"id": 6,
"phase": "FILTER",
"name": "[FILTER] 필터 결과 확인",
"action": "verify_data",
"search": "2026년 02월",
"expected": {
"data_filtered": true,
"month_data_shown": true
}
},
{
"id": 7,
"phase": "READ",
"name": "[READ] 사원 급여 상세 클릭",
"action": "click",
"target": "table tbody tr:first-child",
"expected": {
"detail_modal_or_page": true,
"visible": ["급여 상세", "기본급", "수당", "공제"]
}
},
{
"id": 8,
"phase": "READ",
"name": "[READ] 급여 상세 항목 확인",
"action": "verify_detail",
"checks": [
"사원명 표시",
"기본급 표시",
"수당 항목들 표시",
"공제 항목들 표시",
"실수령액 계산"
],
"expected": "급여 상세 정보 정상 표시"
},
{
"id": 9,
"phase": "UPDATE",
"name": "[UPDATE] 수당 수정 모드 진입",
"action": "click",
"target": "button:has-text('수정'), button:has-text('편집')",
"expected": {
"edit_mode": true,
"fields_editable": true
}
},
{
"id": 10,
"phase": "UPDATE",
"name": "[UPDATE] 보너스 입력",
"action": "fill",
"target": "input[name*='bonus'], input[placeholder*='보너스']",
"value": "100000",
"clear": true
},
{
"id": 11,
"phase": "UPDATE",
"name": "[UPDATE] 필수 검증 #2: 수정 저장",
"action": "click",
"target": "button:has-text('저장'), button:has-text('확인')",
"critical": true,
"verify": {
"url_maintained": true,
"no_error_page": true,
"api_call": "PUT /api/v1/salaries/",
"toast": "수정|저장|완료|성공"
},
"expected": "급여 수정 완료"
},
{
"id": 12,
"phase": "UPDATE",
"name": "[UPDATE] 수정 결과 확인",
"action": "verify_detail",
"checks": [
"보너스: 100,000",
"실수령액 재계산"
],
"expected": "수정된 데이터 반영"
},
{
"id": 13,
"phase": "EXPORT",
"name": "[EXPORT] 엑셀 다운로드 버튼 확인",
"action": "verify_elements", "action": "verify_elements",
"checks": [ "checks": [
"년도 선택", "엑셀 다운로드 버튼 존재"
"월 선택"
], ],
"expected": "날짜 필터 표시" "expected": "다운로드 기능 존재"
},
{
"id": 14,
"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/salaries/export"
},
"expected": "엑셀 파일 다운로드"
},
{
"id": 15,
"phase": "STATS",
"name": "[STATS] 급여 통계 확인",
"action": "verify_elements",
"checks": [
"총 급여액 합계",
"평균 급여",
"총 인원 수"
],
"expected": "급여 통계 정상 표시"
},
{
"id": 16,
"phase": "SEARCH",
"name": "[SEARCH] 사원 검색",
"action": "search",
"target": "input[placeholder*='검색'], input[placeholder*='사원']",
"value": "홍길동",
"expected": {
"data_filtered": true
}
},
{
"id": 17,
"phase": "SEARCH",
"name": "[SEARCH] 검색 결과 확인",
"action": "verify_data",
"search": "홍길동",
"expected": {
"row_exists": true,
"filtered_by_name": true
}
}
],
"expectedAPIs": [
{
"method": "GET",
"endpoint": "/api/v1/salaries",
"description": "급여 목록 조회"
},
{
"method": "GET",
"endpoint": "/api/v1/salaries/{id}",
"description": "급여 상세 조회"
},
{
"method": "PUT",
"endpoint": "/api/v1/salaries/{id}",
"description": "급여 수정"
},
{
"method": "GET",
"endpoint": "/api/v1/salaries/export",
"description": "급여 엑셀 다운로드"
},
{
"method": "GET",
"endpoint": "/api/v1/salaries/summary",
"description": "급여 통계 조회"
} }
], ],
"requiredVerifications": [ "requiredVerifications": [
{
"id": 1,
"name": "파일 다운로드",
"steps": [14],
"criteria": "엑셀 파일 다운로드 동작"
},
{
"id": 2,
"name": "수정/저장 버튼",
"steps": [11],
"criteria": "API 호출 + 성공 토스트 + 데이터 반영"
},
{
"id": 3,
"name": "검색/필터",
"steps": [4, 5, 6, 16, 17],
"criteria": "년월 필터 및 검색 기능"
},
{ {
"id": 5, "id": 5,
"name": "목업 페이지 감지", "name": "목업 페이지 감지",
"steps": [2], "steps": [2],
"criteria": "급여 목록, 필터 확인" "criteria": "급여 목록, 필터, 다운로드 버튼 존재"
} }
] ],
"rollbackPlan": {
"onUpdateFail": "급여 데이터는 월별로 관리되어 자동 복원",
"note": "급여는 CRUD 중 삭제 없이 RU만 테스트 (시스템에서 자동 생성)"
}
} }

View File

@@ -5,17 +5,32 @@
"onErrorOnly": true, "onErrorOnly": true,
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"] "captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
}, },
"description": "출고관리 > 출고관리 메뉴의 출고 조회/관리 기능 테스트", "description": "출고관리 > 출고관리 메뉴의 출고 조회/등록/수정/삭제 전체 CRUD 테스트",
"baseUrl": "https://dev.codebridge-x.com", "baseUrl": "https://dev.codebridge-x.com",
"menuNavigation": { "menuNavigation": {
"level1": "출고관리", "level1": "출고관리",
"level2": "출고관리", "level2": "출고관리",
"expectedUrl": "/shipment/management" "expectedUrl": "/outbound/outbound-management",
"searchWithinParent": true,
"closeOtherMenus": true
}, },
"auth": { "auth": {
"username": "TestUser5", "username": "TestUser5",
"password": "password123!" "password": "password123!"
}, },
"testData": {
"create": {
"clientName": "E2E_TEST_거래처",
"itemName": "테스트품목",
"quantity": "50",
"shipmentDate": "2026-02-05",
"memo": "E2E 자동화 테스트 출고"
},
"update": {
"quantity": "60",
"memo": "E2E 수정된 출고 메모"
}
},
"steps": [ "steps": [
{ {
"id": 1, "id": 1,
@@ -24,7 +39,7 @@
"level1": "출고관리", "level1": "출고관리",
"level2": "출고관리", "level2": "출고관리",
"expected": { "expected": {
"url_contains": "/shipment", "url_contains": "/outbound",
"visible": ["출고관리", "출고"] "visible": ["출고관리", "출고"]
} }
}, },
@@ -34,29 +49,263 @@
"action": "verify_not_mockup", "action": "verify_not_mockup",
"checks": [ "checks": [
"출고 목록 표시", "출고 목록 표시",
"출고 등록 버튼 존재" "출고 등록 버튼 존재",
"검색/필터 기능 존재"
], ],
"expected": "정상 페이지 (목업 아님)" "expected": "정상 페이지 (목업 아님)"
}, },
{ {
"id": 3, "id": 3,
"name": "출고 테이블 확인", "name": "출고 테이블 구조 확인",
"action": "verify_table", "action": "verify_table",
"checks": [ "checks": [
"출고일 컬럼", "출고일 컬럼",
"거래처 컬럼", "거래처 컬럼",
"품목 컬럼", "품목 컬럼",
"수량 컬럼" "수량 컬럼",
"상태 컬럼"
], ],
"expected": "출고 테이블 표시" "expected": "출고 테이블 컬럼 정상 표시"
},
{
"id": 4,
"name": "검색 기능 테스트",
"action": "search",
"target": "input[placeholder*='검색']",
"value": "테스트",
"expected": {
"data_filtered": true
}
},
{
"id": 5,
"phase": "CREATE",
"name": "[CREATE] 출고 등록 버튼 클릭",
"action": "click",
"target": "button:has-text('등록'), button:has-text('출고 등록'), button:has-text('추가')",
"expected": {
"modal_or_page": true,
"title": "출고 등록"
}
},
{
"id": 6,
"phase": "CREATE",
"name": "[CREATE] 출고 정보 입력",
"action": "fill_form",
"fields": [
{"name": "거래처", "type": "select", "value": "E2E_TEST_거래처"},
{"name": "출고일", "type": "date", "value": "2026-02-05"},
{"name": "품목", "type": "select", "value": "테스트품목"},
{"name": "수량", "type": "number", "value": "50"},
{"name": "메모", "type": "text", "value": "E2E 자동화 테스트 출고_{timestamp}"}
],
"note": "타임스탬프로 고유성 보장"
},
{
"id": 7,
"phase": "CREATE",
"name": "[CREATE] 필수 검증 #2: 등록 저장",
"action": "click",
"target": "button:has-text('저장'), button:has-text('등록')",
"critical": true,
"verify": {
"url_maintained": true,
"no_error_page": true,
"api_call": "POST /api/v1/shipments",
"toast": "등록|완료|성공"
},
"expected": "출고 등록 완료"
},
{
"id": "7-modal-close",
"phase": "CREATE",
"name": "[CREATE] 모달 닫기 확인",
"action": "close_modal_if_open",
"expected": "모달 닫힘"
},
{
"id": 8,
"phase": "CREATE",
"name": "[CREATE] 등록 결과 확인",
"action": "verify_data",
"search": "E2E 자동화 테스트 출고",
"expected": {
"row_exists": true,
"contains": ["E2E", "50"]
}
},
{
"id": 9,
"phase": "READ",
"name": "[READ] 출고 상세 페이지 진입",
"action": "click",
"target": "table tbody tr:has-text('E2E')",
"expected": {
"url_contains": "/outbound",
"visible": ["출고 상세", "수정", "삭제"]
}
},
{
"id": 10,
"phase": "READ",
"name": "[READ] 상세 정보 확인",
"action": "verify_detail",
"checks": [
"수량: 50",
"메모: E2E 자동화 테스트"
],
"expected": "입력한 데이터와 일치"
},
{
"id": 11,
"phase": "UPDATE",
"name": "[UPDATE] 수정 모드 진입",
"action": "click",
"target": "button:has-text('수정')",
"expected": {
"url_contains": "mode=edit",
"fields_editable": true
}
},
{
"id": 12,
"phase": "UPDATE",
"name": "[UPDATE] 수량 수정",
"action": "fill",
"target": "input[name*='quantity'], input[placeholder*='수량']",
"value": "60",
"clear": true
},
{
"id": 13,
"phase": "UPDATE",
"name": "[UPDATE] 메모 수정",
"action": "fill",
"target": "textarea[name*='memo'], input[placeholder*='메모']",
"value": "E2E 수정된 출고 메모_{timestamp}",
"clear": true
},
{
"id": 14,
"phase": "UPDATE",
"name": "[UPDATE] 필수 검증 #2: 수정 저장",
"action": "click",
"target": "button:has-text('저장')",
"critical": true,
"verify": {
"url_maintained": true,
"no_error_page": true,
"api_call": "PUT /api/v1/shipments/",
"toast": "수정|완료|성공"
},
"expected": "수정 완료"
},
{
"id": 15,
"phase": "UPDATE",
"name": "[UPDATE] 수정 결과 확인",
"action": "verify_detail",
"checks": [
"수량: 60",
"메모: E2E 수정된 출고"
],
"expected": "수정된 데이터 반영"
},
{
"id": 16,
"phase": "DELETE",
"name": "[DELETE] 삭제 버튼 클릭",
"action": "click",
"target": "button:has-text('삭제')",
"expected": {
"confirm_dialog": true,
"dialog_message": "삭제|정말"
}
},
{
"id": 17,
"phase": "DELETE",
"name": "[DELETE] 필수 검증 #6: 삭제 확인",
"action": "click",
"target": "button:has-text('확인'), button:has-text('삭제')",
"critical": true,
"verify": {
"api_call": "DELETE /api/v1/shipments/",
"toast": "삭제|완료|성공",
"redirect": "/outbound"
},
"expected": "삭제 완료 및 목록 복귀"
},
{
"id": 18,
"phase": "DELETE",
"name": "[DELETE] 삭제 결과 확인",
"action": "verify_data",
"search": "E2E 수정된 출고",
"expected": {
"row_exists": false,
"message": "테스트 출고가 목록에서 제거됨"
}
}
],
"expectedAPIs": [
{
"method": "GET",
"endpoint": "/api/v1/shipments",
"description": "출고 목록 조회"
},
{
"method": "POST",
"endpoint": "/api/v1/shipments",
"description": "출고 등록"
},
{
"method": "GET",
"endpoint": "/api/v1/shipments/{id}",
"description": "출고 상세 조회"
},
{
"method": "PUT",
"endpoint": "/api/v1/shipments/{id}",
"description": "출고 수정"
},
{
"method": "DELETE",
"endpoint": "/api/v1/shipments/{id}",
"description": "출고 삭제"
} }
], ],
"requiredVerifications": [ "requiredVerifications": [
{
"id": 2,
"name": "등록/저장 버튼",
"steps": [7, 14],
"criteria": "API 호출 + 성공 토스트 + 데이터 반영"
},
{
"id": 3,
"name": "검색/필터",
"steps": [4],
"criteria": "검색 기능 동작"
},
{ {
"id": 5, "id": 5,
"name": "목업 페이지 감지", "name": "목업 페이지 감지",
"steps": [2], "steps": [2],
"criteria": "출고 목록 확인" "criteria": "출고 목록, 등록 버튼, 필터 존재"
},
{
"id": 6,
"name": "삭제 기능",
"steps": [16, 17, 18],
"criteria": "DELETE API + 목록에서 제거"
} }
] ],
"rollbackPlan": {
"onCreateFail": "모달 닫기",
"onUpdateFail": "테스트 출고 수동 삭제 필요",
"onDeleteFail": "테스트 출고 수동 삭제 필요",
"cleanupRequired": "E2E_TEST_ 접두사 출고는 테스트 데이터"
}
} }