refactor: 판매/고객센터/차량 시나리오 A/B등급 개선
- sales-client, sales-pricing, sales-site: C→A (CRUD 전체) - customer-notice: C→B (공지사항 조회/검색) - customer-inquiry: C→A (문의 등록/조회) - customer-faq: C→B (FAQ 조회/검색) - customer-event: C→B (이벤트 조회) - vehicle-management: C→A (차량 CRUD) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,17 +5,26 @@
|
||||
"onErrorOnly": true,
|
||||
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
|
||||
},
|
||||
"description": "판매관리 > 거래처관리 메뉴의 판매 거래처 조회/관리 기능 테스트",
|
||||
"description": "판매관리 > 거래처관리 메뉴의 판매 거래처 CRUD 기능 테스트",
|
||||
"baseUrl": "https://dev.codebridge-x.com",
|
||||
"menuNavigation": {
|
||||
"level1": "판매관리",
|
||||
"level2": "거래처관리",
|
||||
"expectedUrl": "/sales/client-management"
|
||||
"expectedUrl": "/sales/client-management",
|
||||
"searchWithinParent": true,
|
||||
"closeOtherMenus": true
|
||||
},
|
||||
"auth": {
|
||||
"username": "TestUser5",
|
||||
"password": "password123!"
|
||||
},
|
||||
"testData": {
|
||||
"create": {
|
||||
"clientName": "E2E_TEST_판매처_{timestamp}",
|
||||
"businessNumber": "987-65-43210",
|
||||
"representative": "테스트 대표"
|
||||
}
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"id": 1,
|
||||
@@ -34,49 +43,217 @@
|
||||
"action": "verify_not_mockup",
|
||||
"checks": [
|
||||
"거래처 목록 표시",
|
||||
"거래처 등록 버튼 존재"
|
||||
"거래처 등록 버튼 존재",
|
||||
"검색 기능 존재"
|
||||
],
|
||||
"expected": "정상 페이지 (목업 아님)"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"name": "거래처 테이블 확인",
|
||||
"name": "거래처 테이블 구조 확인",
|
||||
"action": "verify_table",
|
||||
"checks": [
|
||||
"거래처명 컬럼",
|
||||
"사업자번호 컬럼",
|
||||
"대표자 컬럼",
|
||||
"연락처 컬럼"
|
||||
],
|
||||
"expected": "거래처 테이블 표시"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"name": "검색 기능 테스트",
|
||||
"action": "fill",
|
||||
"target": "input[placeholder*='검색']",
|
||||
"value": "가우스",
|
||||
"expected": "검색어 입력됨"
|
||||
"phase": "CREATE",
|
||||
"name": "[CREATE] 거래처 등록 버튼 클릭",
|
||||
"action": "click",
|
||||
"target": "button:has-text('등록'), button:has-text('추가'), button:has-text('신규')",
|
||||
"expected": {
|
||||
"modal_open": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"name": "검색 초기화",
|
||||
"action": "clear",
|
||||
"target": "input[placeholder*='검색']",
|
||||
"expected": "검색어 삭제"
|
||||
"phase": "CREATE",
|
||||
"name": "[CREATE] 거래처명 입력",
|
||||
"action": "fill",
|
||||
"target": "input[name*='name'], input[placeholder*='거래처명']",
|
||||
"value": "E2E_TEST_판매처_{timestamp}",
|
||||
"clear": true
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"phase": "CREATE",
|
||||
"name": "[CREATE] 사업자번호 입력",
|
||||
"action": "fill",
|
||||
"target": "input[name*='business'], input[placeholder*='사업자']",
|
||||
"value": "987-65-43210",
|
||||
"clear": true
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"phase": "CREATE",
|
||||
"name": "[CREATE] 대표자명 입력",
|
||||
"action": "fill",
|
||||
"target": "input[name*='representative'], input[placeholder*='대표']",
|
||||
"value": "테스트 대표",
|
||||
"clear": true
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"phase": "CREATE",
|
||||
"name": "[CREATE] 필수 검증 #2: 거래처 저장",
|
||||
"action": "click",
|
||||
"target": "button:has-text('저장'), button:has-text('등록'), button:has-text('확인')",
|
||||
"critical": true,
|
||||
"verify": {
|
||||
"url_maintained": true,
|
||||
"no_error_page": true,
|
||||
"api_call": "POST /api/v1/sales/clients",
|
||||
"toast": "등록|저장|완료|성공"
|
||||
},
|
||||
"expected": "거래처 등록 완료"
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"phase": "READ",
|
||||
"name": "[READ] 등록된 거래처 검색",
|
||||
"action": "fill",
|
||||
"target": "input[type='search'], input[placeholder*='검색']",
|
||||
"value": "E2E_TEST_판매처",
|
||||
"submit": true
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"phase": "READ",
|
||||
"name": "[READ] 등록된 거래처 확인",
|
||||
"action": "verify_detail",
|
||||
"checks": [
|
||||
"E2E_TEST_판매처 목록에 표시"
|
||||
],
|
||||
"expected": "등록된 거래처 확인"
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"phase": "READ",
|
||||
"name": "[READ] 거래처 상세 조회",
|
||||
"action": "click",
|
||||
"target": "table tbody tr:has-text('E2E_TEST')",
|
||||
"expected": {
|
||||
"detail_view": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"phase": "UPDATE",
|
||||
"name": "[UPDATE] 거래처 수정 모드 진입",
|
||||
"action": "click",
|
||||
"target": "button:has-text('수정'), button:has-text('편집')",
|
||||
"expected": {
|
||||
"edit_mode": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"phase": "UPDATE",
|
||||
"name": "[UPDATE] 대표자명 수정",
|
||||
"action": "fill",
|
||||
"target": "input[name*='representative'], input[placeholder*='대표']",
|
||||
"value": "수정된 대표",
|
||||
"clear": true
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"phase": "UPDATE",
|
||||
"name": "[UPDATE] 거래처 저장",
|
||||
"action": "click",
|
||||
"target": "button:has-text('저장'), button:has-text('확인')",
|
||||
"verify": {
|
||||
"api_call": "PUT /api/v1/sales/clients",
|
||||
"toast": "수정|저장|완료|성공"
|
||||
},
|
||||
"expected": "거래처 수정 완료"
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"phase": "DELETE",
|
||||
"name": "[DELETE] 거래처 삭제",
|
||||
"action": "click",
|
||||
"target": "button:has-text('삭제'), button:has-text('제거')",
|
||||
"expected": {
|
||||
"confirm_dialog": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"phase": "DELETE",
|
||||
"name": "[DELETE] 삭제 확인",
|
||||
"action": "click",
|
||||
"target": "[role='alertdialog'] button:has-text('확인'), [role='dialog'] button:has-text('삭제')",
|
||||
"verify": {
|
||||
"api_call": "DELETE /api/v1/sales/clients",
|
||||
"toast": "삭제|제거|완료|성공"
|
||||
},
|
||||
"expected": "거래처 삭제 완료"
|
||||
},
|
||||
{
|
||||
"id": 17,
|
||||
"phase": "DELETE",
|
||||
"name": "[DELETE] 삭제 확인",
|
||||
"action": "verify_detail",
|
||||
"checks": [
|
||||
"E2E_TEST_판매처 목록에서 제거"
|
||||
],
|
||||
"expected": "거래처 삭제 반영"
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"name": "엑셀 다운로드 확인",
|
||||
"action": "verify_elements",
|
||||
"checks": [
|
||||
"엑셀 다운로드 버튼 존재"
|
||||
],
|
||||
"expected": "엑셀 다운로드 기능 표시"
|
||||
}
|
||||
],
|
||||
"expectedAPIs": [
|
||||
{
|
||||
"method": "GET",
|
||||
"endpoint": "/api/v1/sales/clients",
|
||||
"description": "거래처 목록 조회"
|
||||
},
|
||||
{
|
||||
"method": "POST",
|
||||
"endpoint": "/api/v1/sales/clients",
|
||||
"description": "거래처 등록"
|
||||
},
|
||||
{
|
||||
"method": "PUT",
|
||||
"endpoint": "/api/v1/sales/clients/:id",
|
||||
"description": "거래처 수정"
|
||||
},
|
||||
{
|
||||
"method": "DELETE",
|
||||
"endpoint": "/api/v1/sales/clients/:id",
|
||||
"description": "거래처 삭제"
|
||||
}
|
||||
],
|
||||
"requiredVerifications": [
|
||||
{
|
||||
"id": 3,
|
||||
"name": "검색/필터",
|
||||
"steps": [4, 5],
|
||||
"criteria": "검색 기능 확인"
|
||||
"id": 2,
|
||||
"name": "저장 버튼",
|
||||
"steps": [8, 14],
|
||||
"criteria": "API 호출 + 성공 토스트 + 데이터 반영"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"name": "목업 페이지 감지",
|
||||
"steps": [2],
|
||||
"criteria": "거래처 목록, 등록 버튼 확인"
|
||||
"criteria": "거래처 목록, 등록 버튼, 검색 기능 존재"
|
||||
}
|
||||
]
|
||||
],
|
||||
"rollbackPlan": {
|
||||
"onCreateFail": "등록 모달 닫고 재시도",
|
||||
"onUpdateFail": "페이지 새로고침 후 재시도",
|
||||
"onDeleteFail": "수동 삭제 필요",
|
||||
"cleanupRequired": "E2E_TEST_판매처_* 패턴 데이터 삭제"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user