새 시나리오: - 품질관리: quality-inspection, quality-certification - 품목관리: item-master - 인사관리: hr-employee, hr-department, hr-card, hr-attendance-status, hr-attendance-admin, hr-salary, hr-vacation - 리포트: report-analysis - 고객센터: customer-notice - 설정: settings-account, settings-permission, settings-rank, settings-popup, settings-company, settings-subscription - 판매관리: sales-quotation, sales-order, sales-pricing, sales-client - 구매관리: purchase-client, purchase-order, purchase-status - 생산관리: production-item, production-work-result - 자재관리: material-stock, material-receiving - 출고관리: shipment-management - 차량관리: vehicle-management - 회계관리: accounting-client, accounting-ledger, accounting-deposit, accounting-withdrawal, accounting-payment Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
182 lines
4.7 KiB
JSON
182 lines
4.7 KiB
JSON
{
|
|
"id": "quality-inspection",
|
|
"name": "제품검사관리 테스트",
|
|
"screenshotPolicy": {
|
|
"onErrorOnly": true,
|
|
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
|
|
},
|
|
"description": "품질관리 > 제품검사관리 메뉴의 목록 조회, 필터, 검색, 등록, 상세 기능 테스트",
|
|
"baseUrl": "https://dev.codebridge-x.com",
|
|
"menuNavigation": {
|
|
"level1": "품질관리",
|
|
"level2": "제품검사관리",
|
|
"expectedUrl": "/quality/inspections"
|
|
},
|
|
"auth": {
|
|
"username": "TestUser5",
|
|
"password": "password123!"
|
|
},
|
|
"steps": [
|
|
{
|
|
"id": 1,
|
|
"name": "메뉴 진입: 품질관리 > 제품검사관리",
|
|
"action": "menu_navigate",
|
|
"level1": "품질관리",
|
|
"level2": "제품검사관리",
|
|
"expected": {
|
|
"url_contains": "/quality/inspections",
|
|
"visible": ["제품검사 목록", "제품검사 등록"]
|
|
}
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "필수 검증 #5: 목업 페이지 감지",
|
|
"action": "verify_not_mockup",
|
|
"checks": [
|
|
"검색 입력 필드 존재 및 입력 가능",
|
|
"날짜 필터 존재",
|
|
"테이블 데이터 표시",
|
|
"제품검사 등록 버튼 존재"
|
|
],
|
|
"expected": "정상 페이지 (목업 아님)"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "상태 카드 확인",
|
|
"action": "verify_elements",
|
|
"checks": [
|
|
"접수 카드 표시",
|
|
"진행중 카드 표시",
|
|
"완료 카드 표시"
|
|
],
|
|
"expected": "3개 상태 카드 모두 표시"
|
|
},
|
|
{
|
|
"id": 4,
|
|
"name": "테이블 구조 확인",
|
|
"action": "verify_table",
|
|
"checks": [
|
|
"No. 컬럼",
|
|
"품질관리서 번호 컬럼",
|
|
"현장명 컬럼",
|
|
"수주처 컬럼",
|
|
"개소 컬럼",
|
|
"필수정보 컬럼",
|
|
"검사기간 컬럼",
|
|
"검사자 컬럼",
|
|
"상태 컬럼",
|
|
"작성자 컬럼",
|
|
"접수일 컬럼"
|
|
],
|
|
"expected": "11개 컬럼 존재"
|
|
},
|
|
{
|
|
"id": 5,
|
|
"name": "날짜 필터 테스트 - 당월",
|
|
"action": "click",
|
|
"target": "당월",
|
|
"expected": "당월 데이터로 필터링"
|
|
},
|
|
{
|
|
"id": 6,
|
|
"name": "날짜 필터 테스트 - 당해년도",
|
|
"action": "click",
|
|
"target": "당해년도",
|
|
"expected": "당해년도 데이터로 필터링"
|
|
},
|
|
{
|
|
"id": 7,
|
|
"name": "검색 기능 테스트",
|
|
"action": "fill",
|
|
"target": "input[placeholder*='검색']",
|
|
"value": "현장명",
|
|
"expected": "검색어 입력됨"
|
|
},
|
|
{
|
|
"id": 8,
|
|
"name": "검색 결과 확인",
|
|
"action": "wait",
|
|
"duration": 500,
|
|
"verify": {
|
|
"tableContains": "현장명"
|
|
},
|
|
"expected": "검색 결과 표시"
|
|
},
|
|
{
|
|
"id": 9,
|
|
"name": "검색 초기화",
|
|
"action": "clear",
|
|
"target": "input[placeholder*='검색']",
|
|
"expected": "검색어 삭제"
|
|
},
|
|
{
|
|
"id": 10,
|
|
"name": "테이블 행 클릭 - 상세 페이지",
|
|
"action": "click",
|
|
"target": "table tbody tr:first-child",
|
|
"expected": "상세 페이지로 이동"
|
|
},
|
|
{
|
|
"id": 11,
|
|
"name": "상세 페이지 확인",
|
|
"action": "verify_url",
|
|
"expected": {
|
|
"url_contains": "/quality/inspections/"
|
|
}
|
|
},
|
|
{
|
|
"id": 12,
|
|
"name": "상세 페이지 요소 확인",
|
|
"action": "verify_elements",
|
|
"checks": [
|
|
"품질관리서 정보 표시",
|
|
"목록 버튼 존재",
|
|
"수정 버튼 존재"
|
|
],
|
|
"expected": "상세 정보 정상 표시"
|
|
},
|
|
{
|
|
"id": 13,
|
|
"name": "목록으로 돌아가기",
|
|
"action": "click",
|
|
"target": "목록",
|
|
"expected": "목록 페이지로 복귀"
|
|
},
|
|
{
|
|
"id": 14,
|
|
"name": "목록 페이지 복귀 확인",
|
|
"action": "verify_url",
|
|
"expected": {
|
|
"url_contains": "/quality/inspections",
|
|
"url_not_contains": "/quality/inspections/"
|
|
}
|
|
}
|
|
],
|
|
"requiredVerifications": [
|
|
{
|
|
"id": 3,
|
|
"name": "검색/필터",
|
|
"steps": [5, 6, 7, 8, 9],
|
|
"criteria": "날짜 필터 및 검색 시 데이터 변화 확인"
|
|
},
|
|
{
|
|
"id": 5,
|
|
"name": "목업 페이지 감지",
|
|
"steps": [2],
|
|
"criteria": "입력 필드, 동작 버튼, 테이블 데이터 확인"
|
|
}
|
|
],
|
|
"expectedAPIs": [
|
|
{
|
|
"method": "GET",
|
|
"endpoint": "/api/v1/quality/inspections",
|
|
"description": "제품검사 목록 조회"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"endpoint": "/api/v1/quality/inspections/{id}",
|
|
"description": "제품검사 상세 조회"
|
|
}
|
|
]
|
|
}
|