{ "enabled": true, "id": "sales-pricing", "name": "단가관리 테스트", "screenshotPolicy": { "onErrorOnly": true, "captureOn": ["error", "fail", "timeout", "404", "500", "blocked"] }, "description": "판매관리 > 단가관리 메뉴의 단가 목록 조회 및 UI 검증 테스트", "baseUrl": "https://dev.codebridge-x.com", "menuNavigation": { "level1": "판매관리", "level2": "단가관리", "expectedUrl": "/sales/pricing-management", "searchWithinParent": true, "closeOtherMenus": true }, "auth": { "username": "TestUser5", "password": "password123!" }, "steps": [ { "id": 1, "name": "메뉴 진입: 판매관리 > 단가관리", "action": "menu_navigate", "level1": "판매관리", "level2": "단가관리", "expected": { "url_contains": "/sales/pricing", "visible": ["단가관리", "단가"] } }, { "id": 2, "name": "필수 검증 #5: 목업 페이지 감지", "action": "verify_not_mockup", "checks": [ "단가 목록 표시", "단가 등록 버튼 존재", "검색 기능 존재" ], "expected": "정상 페이지 (목업 아님)" }, { "id": 3, "name": "단가 테이블 구조 확인", "action": "verify_table", "checks": [ "품목 컬럼", "거래처 컬럼", "단가 컬럼", "적용일 컬럼" ], "expected": "단가 테이블 표시" }, { "id": 4, "name": "단가 UI 요소 확인", "action": "verify_elements", "checks": [ "등록 버튼 존재", "검색 입력 필드", "단가 목록" ], "expected": "단가 UI 정상 표시" }, { "id": 5, "phase": "READ", "name": "[READ] 단가 목록 확인", "action": "verify_detail", "checks": [ "단가 목록 데이터 표시됨" ], "expected": "단가 목록 정상" }, { "id": 6, "phase": "READ", "name": "[READ] 첫 번째 단가 클릭", "action": "click_if_exists", "target": "table tbody tr:first-child" }, { "id": 7, "phase": "READ", "name": "[READ] 단가 상세 정보 확인", "action": "verify_detail", "checks": [ "단가 상세 정보 표시" ], "expected": "단가 상세 정보 확인" }, { "id": 8, "name": "상세 모달/페이지 닫기", "action": "click_if_exists", "target": "button:has-text('닫기'), button:has-text('목록'), button:has-text('Close')" }, { "id": 9, "name": "모달 닫기 확인", "action": "close_modal_if_open", "expected": "모달 닫힘" }, { "id": 10, "name": "목록 복귀 확인", "action": "verify_table", "checks": [ "단가 목록 표시" ], "expected": "목록 복귀 확인" }, { "id": 11, "name": "엑셀 다운로드 버튼 확인", "action": "verify_elements", "checks": [ "엑셀 다운로드 버튼 존재 여부" ], "expected": "엑셀 다운로드 기능 확인" }, { "id": 12, "name": "단가관리 페이지 최종 확인", "action": "verify_elements", "checks": [ "단가 목록 구조 정상", "등록 버튼 존재" ], "expected": "단가관리 페이지 정상" } ], "expectedAPIs": [ { "method": "GET", "endpoint": "/api/v1/sales/pricing", "description": "단가 목록 조회" } ], "requiredVerifications": [ { "id": 5, "name": "목업 페이지 감지", "steps": [2], "criteria": "단가 목록, 등록 버튼, 검색 기능 존재" } ], "rollbackPlan": { "note": "READ-only 패턴으로 안정성 우선" } }