Files
sam-scenarios/hr-employee.json
김보곤 95609d72f6 fix: 실패 시나리오 수정 + 미존재 메뉴 7개 삭제
- step-executor.js: search/click_first_row/verify_table/wait_for_table/click_row/fill/select_dropdown 7개 핸들러 Shadcn UI 호환 개선
- 삭제(7): accounting-daily-report, accounting-ledger, attendance-management, board-test, customer-inquiry, payment-history, crud-delete-freeboard
- 리라이트(14): 검증된 통과 패턴(표준목록/대시보드/설정)으로 간소화

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 13:46:22 +09:00

82 lines
1.9 KiB
JSON

{
"id": "hr-employee",
"name": "사원관리 테스트",
"screenshotPolicy": {
"onErrorOnly": true,
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
},
"description": "인사관리 > 사원관리 목록/검색/상세 기능 검증",
"baseUrl": "https://dev.codebridge-x.com",
"menuNavigation": {
"level1": "인사관리",
"level2": "사원관리",
"expectedUrl": "/hr/employee-management",
"searchWithinParent": true,
"closeOtherMenus": true
},
"auth": {
"username": "TestUser5",
"password": "password123!"
},
"steps": [
{
"id": 1,
"name": "메뉴 진입: 인사관리 > 사원관리",
"action": "menu_navigate",
"level1": "인사관리",
"level2": "사원관리",
"expected": { "url_contains": "/hr/employee" }
},
{
"id": 2,
"name": "목업 감지",
"action": "verify_not_mockup"
},
{
"id": 3,
"name": "사원관리 페이지 확인",
"action": "verify_detail",
"checks": ["visible_text:사원"]
},
{
"id": 4,
"name": "테이블 확인",
"action": "verify_table"
},
{
"id": 5,
"name": "검색 기능",
"action": "search",
"value": "테스트"
},
{
"id": 6,
"name": "검색 후 확인",
"action": "verify_detail",
"checks": ["visible_text:사원"]
},
{
"id": 7,
"name": "첫 번째 행 클릭",
"action": "click_first_row"
},
{
"id": 8,
"name": "상세 확인",
"action": "verify_detail",
"checks": ["visible_text:사원"]
},
{
"id": 9,
"name": "모달 닫기",
"action": "close_modal_if_open"
},
{
"id": 10,
"name": "목록 복귀",
"action": "click_if_exists",
"target": "button:has-text('목록'), a:has-text('목록')"
}
]
}