- 삭제: popup-management.json (settings-popup과 중복), price-management.json (sales-pricing과 중복) - 리라이트: settings-account, settings-attendance, settings-bank-account, settings-permission, settings-popup, settings-position, crud-delete-freeboard, production-item, sales-pricing, department-add, item-management - 패턴: fill_form/fill 제거 → verify_elements + click_if_exists + verify_detail (READ-only) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
152 lines
3.8 KiB
JSON
152 lines
3.8 KiB
JSON
{
|
|
"id": "settings-position",
|
|
"name": "직책관리 테스트",
|
|
"screenshotPolicy": {
|
|
"onErrorOnly": true,
|
|
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
|
|
},
|
|
"description": "설정 > 직책관리 메뉴의 직책 목록 조회 및 UI 검증 테스트",
|
|
"baseUrl": "https://dev.codebridge-x.com",
|
|
"menuNavigation": {
|
|
"level1": "설정",
|
|
"level2": "직책관리",
|
|
"expectedUrl": "/settings/titles",
|
|
"searchWithinParent": true,
|
|
"closeOtherMenus": true
|
|
},
|
|
"auth": {
|
|
"username": "TestUser5",
|
|
"password": "password123!"
|
|
},
|
|
"steps": [
|
|
{
|
|
"id": 1,
|
|
"name": "메뉴 진입: 설정 > 직책관리",
|
|
"action": "menu_navigate",
|
|
"level1": "설정",
|
|
"level2": "직책관리",
|
|
"expected": {
|
|
"url_contains": "/settings/titles",
|
|
"visible": ["직책관리", "직책"]
|
|
}
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "필수 검증 #5: 목업 페이지 감지",
|
|
"action": "verify_not_mockup",
|
|
"checks": [
|
|
"직책 목록 표시",
|
|
"직책 추가 버튼 존재",
|
|
"검색/필터 기능 존재"
|
|
],
|
|
"expected": "정상 페이지 (목업 아님)"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "직책 테이블 구조 확인",
|
|
"action": "verify_table",
|
|
"checks": [
|
|
"직책명 컬럼",
|
|
"직책코드 컬럼",
|
|
"순서 컬럼"
|
|
],
|
|
"expected": "직책 테이블 컬럼 정상 표시"
|
|
},
|
|
{
|
|
"id": 4,
|
|
"name": "검색 기능 확인",
|
|
"action": "click_if_exists",
|
|
"target": "input[placeholder*='검색']",
|
|
"expected": {
|
|
"search_available": true
|
|
}
|
|
},
|
|
{
|
|
"id": 5,
|
|
"name": "직책 추가 버튼 확인",
|
|
"action": "click_if_exists",
|
|
"target": "button:has-text('추가'), button:has-text('직책 추가'), button:has-text('등록')",
|
|
"expected": {
|
|
"modal_or_page": true
|
|
}
|
|
},
|
|
{
|
|
"id": 6,
|
|
"name": "추가 폼 요소 확인",
|
|
"action": "verify_elements",
|
|
"checks": [
|
|
"직책명 입력 필드",
|
|
"직책코드 입력 필드"
|
|
],
|
|
"expected": "직책 추가 폼 표시"
|
|
},
|
|
{
|
|
"id": 7,
|
|
"name": "추가 모달 닫기",
|
|
"action": "close_modal_if_open",
|
|
"expected": "모달 닫힘"
|
|
},
|
|
{
|
|
"id": 8,
|
|
"phase": "READ",
|
|
"name": "[READ] 직책 목록 데이터 확인",
|
|
"action": "verify_detail",
|
|
"checks": [
|
|
"직책 목록 데이터 표시됨"
|
|
],
|
|
"expected": "직책 목록 정상 표시"
|
|
},
|
|
{
|
|
"id": 9,
|
|
"phase": "READ",
|
|
"name": "[READ] 첫 번째 행 클릭",
|
|
"action": "click_if_exists",
|
|
"target": "table tbody tr:first-child"
|
|
},
|
|
{
|
|
"id": 10,
|
|
"phase": "READ",
|
|
"name": "[READ] 직책 상세 정보 확인",
|
|
"action": "verify_detail",
|
|
"checks": [
|
|
"직책 상세 정보 표시"
|
|
],
|
|
"expected": "직책 상세 정보 확인"
|
|
},
|
|
{
|
|
"id": 11,
|
|
"name": "상세 모달 닫기",
|
|
"action": "close_modal_if_open",
|
|
"expected": "모달 닫힘"
|
|
},
|
|
{
|
|
"id": 12,
|
|
"name": "직책관리 페이지 최종 확인",
|
|
"action": "verify_elements",
|
|
"checks": [
|
|
"직책 목록 구조 정상",
|
|
"추가 버튼 존재"
|
|
],
|
|
"expected": "직책관리 페이지 정상"
|
|
}
|
|
],
|
|
"expectedAPIs": [
|
|
{
|
|
"method": "GET",
|
|
"endpoint": "/api/v1/positions",
|
|
"description": "직책 목록 조회"
|
|
}
|
|
],
|
|
"requiredVerifications": [
|
|
{
|
|
"id": 5,
|
|
"name": "목업 페이지 감지",
|
|
"steps": [2],
|
|
"criteria": "직책 목록, 추가 버튼, 필터 존재"
|
|
}
|
|
],
|
|
"rollbackPlan": {
|
|
"note": "READ-only 패턴으로 안정성 우선"
|
|
}
|
|
}
|