refactor: 초정밀 시나리오 강화 (1060→1381 steps, 68/68 PASS)
This commit is contained in:
81
_backup_before_enhance/hr-employee.json
Normal file
81
_backup_before_enhance/hr-employee.json
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"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('목록')"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user