2026-02-03 08:59:26 +09:00
|
|
|
{
|
|
|
|
|
"id": "settings-position",
|
|
|
|
|
"name": "직책관리 테스트",
|
|
|
|
|
"screenshotPolicy": {
|
|
|
|
|
"onErrorOnly": true,
|
|
|
|
|
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
|
|
|
|
|
},
|
2026-02-07 13:46:22 +09:00
|
|
|
"description": "설정 > 직책관리 목록/검색/상세 기능 검증",
|
2026-02-03 08:59:26 +09:00
|
|
|
"baseUrl": "https://dev.codebridge-x.com",
|
|
|
|
|
"menuNavigation": {
|
|
|
|
|
"level1": "설정",
|
|
|
|
|
"level2": "직책관리",
|
refactor: E2E 시나리오 전면 개선 (43파일)
- Phase 0: 미구현 모듈 시나리오 13개 삭제 (구매관리, 중복, 라우트 없음)
- Phase 2: Settings URL 불일치 수정 (position, attendance, vacation-policy, bank-account, account, notification)
- Phase 3-4: 비설정 시나리오 URL/메뉴/UI 수정 (inventory-status, receiving-management, price-management, customer-inquiry, shipment-management, sales-client, quality-certification, customer-notice, production-* 등)
- Phase 5-6: 복잡 시나리오 재작성 (draft-box 50→14스텝, department-add 18→10스텝, free-board 70→22스텝, crud-delete-freeboard 14→17스텝)
- 16개 disabled 시나리오 enabled 전환
- 비표준 액션(fillInModal, randomData, usePlaywrightNative 등) → step-executor 표준 액션으로 통일
2026-02-06 17:37:35 +09:00
|
|
|
"expectedUrl": "/settings/titles",
|
refactor: 품질검사, 설정관리 시나리오 A/B등급으로 개선
개선된 시나리오:
- quality-inspection.json: C→A (14→18 steps, CRUD 전체)
- settings-bank-account.json: C→A (4→18 steps, 계좌 CRUD)
- settings-position.json: C→A (4→18 steps, 직책 CRUD)
- settings-rank.json: C→A (4→18 steps, 직급 CRUD)
- accounting-receivable.json: C→B (3→15 steps, 조회/필터/엑셀)
- settings-vacation-policy.json: C→B (4→12 steps, 정책 수정)
- settings-work-schedule.json: C→B (4→12 steps, 일정 수정)
- settings-attendance.json: C→B (4→12 steps, 설정 수정)
- inspection-management.json: 메뉴 플래그 추가
공통 개선:
- searchWithinParent, closeOtherMenus 플래그 추가
- testData, expectedAPIs, requiredVerifications 추가
- rollbackPlan 추가
2026-02-03 13:37:06 +09:00
|
|
|
"searchWithinParent": true,
|
|
|
|
|
"closeOtherMenus": true
|
2026-02-03 08:59:26 +09:00
|
|
|
},
|
|
|
|
|
"auth": {
|
|
|
|
|
"username": "TestUser5",
|
|
|
|
|
"password": "password123!"
|
|
|
|
|
},
|
|
|
|
|
"steps": [
|
|
|
|
|
{
|
|
|
|
|
"id": 1,
|
|
|
|
|
"name": "메뉴 진입: 설정 > 직책관리",
|
|
|
|
|
"action": "menu_navigate",
|
|
|
|
|
"level1": "설정",
|
|
|
|
|
"level2": "직책관리",
|
2026-02-07 13:46:22 +09:00
|
|
|
"expected": { "url_contains": "/settings" }
|
2026-02-03 08:59:26 +09:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 2,
|
2026-02-07 13:46:22 +09:00
|
|
|
"name": "목업 감지",
|
|
|
|
|
"action": "verify_not_mockup"
|
2026-02-03 08:59:26 +09:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 3,
|
2026-02-07 13:46:22 +09:00
|
|
|
"name": "직책관리 페이지 확인",
|
|
|
|
|
"action": "verify_detail",
|
|
|
|
|
"checks": ["visible_text:직책"]
|
2026-02-03 08:59:26 +09:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 4,
|
2026-02-07 13:46:22 +09:00
|
|
|
"name": "설정 페이지 확인",
|
|
|
|
|
"action": "verify_detail",
|
|
|
|
|
"checks": ["visible_text:설정"]
|
refactor: 품질검사, 설정관리 시나리오 A/B등급으로 개선
개선된 시나리오:
- quality-inspection.json: C→A (14→18 steps, CRUD 전체)
- settings-bank-account.json: C→A (4→18 steps, 계좌 CRUD)
- settings-position.json: C→A (4→18 steps, 직책 CRUD)
- settings-rank.json: C→A (4→18 steps, 직급 CRUD)
- accounting-receivable.json: C→B (3→15 steps, 조회/필터/엑셀)
- settings-vacation-policy.json: C→B (4→12 steps, 정책 수정)
- settings-work-schedule.json: C→B (4→12 steps, 일정 수정)
- settings-attendance.json: C→B (4→12 steps, 설정 수정)
- inspection-management.json: 메뉴 플래그 추가
공통 개선:
- searchWithinParent, closeOtherMenus 플래그 추가
- testData, expectedAPIs, requiredVerifications 추가
- rollbackPlan 추가
2026-02-03 13:37:06 +09:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 5,
|
2026-02-07 13:46:22 +09:00
|
|
|
"name": "추가 버튼 클릭",
|
2026-02-06 00:46:05 +09:00
|
|
|
"action": "click_if_exists",
|
2026-02-07 13:46:22 +09:00
|
|
|
"target": "button:has-text('추가'), button:has-text('등록'), button:has-text('신규')"
|
refactor: 품질검사, 설정관리 시나리오 A/B등급으로 개선
개선된 시나리오:
- quality-inspection.json: C→A (14→18 steps, CRUD 전체)
- settings-bank-account.json: C→A (4→18 steps, 계좌 CRUD)
- settings-position.json: C→A (4→18 steps, 직책 CRUD)
- settings-rank.json: C→A (4→18 steps, 직급 CRUD)
- accounting-receivable.json: C→B (3→15 steps, 조회/필터/엑셀)
- settings-vacation-policy.json: C→B (4→12 steps, 정책 수정)
- settings-work-schedule.json: C→B (4→12 steps, 일정 수정)
- settings-attendance.json: C→B (4→12 steps, 설정 수정)
- inspection-management.json: 메뉴 플래그 추가
공통 개선:
- searchWithinParent, closeOtherMenus 플래그 추가
- testData, expectedAPIs, requiredVerifications 추가
- rollbackPlan 추가
2026-02-03 13:37:06 +09:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 6,
|
2026-02-07 13:46:22 +09:00
|
|
|
"name": "대기",
|
|
|
|
|
"action": "wait",
|
|
|
|
|
"duration": 1000
|
refactor: 품질검사, 설정관리 시나리오 A/B등급으로 개선
개선된 시나리오:
- quality-inspection.json: C→A (14→18 steps, CRUD 전체)
- settings-bank-account.json: C→A (4→18 steps, 계좌 CRUD)
- settings-position.json: C→A (4→18 steps, 직책 CRUD)
- settings-rank.json: C→A (4→18 steps, 직급 CRUD)
- accounting-receivable.json: C→B (3→15 steps, 조회/필터/엑셀)
- settings-vacation-policy.json: C→B (4→12 steps, 정책 수정)
- settings-work-schedule.json: C→B (4→12 steps, 일정 수정)
- settings-attendance.json: C→B (4→12 steps, 설정 수정)
- inspection-management.json: 메뉴 플래그 추가
공통 개선:
- searchWithinParent, closeOtherMenus 플래그 추가
- testData, expectedAPIs, requiredVerifications 추가
- rollbackPlan 추가
2026-02-03 13:37:06 +09:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 7,
|
2026-02-07 13:46:22 +09:00
|
|
|
"name": "모달 닫기",
|
|
|
|
|
"action": "close_modal_if_open"
|
refactor: 품질검사, 설정관리 시나리오 A/B등급으로 개선
개선된 시나리오:
- quality-inspection.json: C→A (14→18 steps, CRUD 전체)
- settings-bank-account.json: C→A (4→18 steps, 계좌 CRUD)
- settings-position.json: C→A (4→18 steps, 직책 CRUD)
- settings-rank.json: C→A (4→18 steps, 직급 CRUD)
- accounting-receivable.json: C→B (3→15 steps, 조회/필터/엑셀)
- settings-vacation-policy.json: C→B (4→12 steps, 정책 수정)
- settings-work-schedule.json: C→B (4→12 steps, 일정 수정)
- settings-attendance.json: C→B (4→12 steps, 설정 수정)
- inspection-management.json: 메뉴 플래그 추가
공통 개선:
- searchWithinParent, closeOtherMenus 플래그 추가
- testData, expectedAPIs, requiredVerifications 추가
- rollbackPlan 추가
2026-02-03 13:37:06 +09:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 8,
|
2026-02-07 13:46:22 +09:00
|
|
|
"name": "직책관리 최종 확인",
|
refactor: 품질검사, 설정관리 시나리오 A/B등급으로 개선
개선된 시나리오:
- quality-inspection.json: C→A (14→18 steps, CRUD 전체)
- settings-bank-account.json: C→A (4→18 steps, 계좌 CRUD)
- settings-position.json: C→A (4→18 steps, 직책 CRUD)
- settings-rank.json: C→A (4→18 steps, 직급 CRUD)
- accounting-receivable.json: C→B (3→15 steps, 조회/필터/엑셀)
- settings-vacation-policy.json: C→B (4→12 steps, 정책 수정)
- settings-work-schedule.json: C→B (4→12 steps, 일정 수정)
- settings-attendance.json: C→B (4→12 steps, 설정 수정)
- inspection-management.json: 메뉴 플래그 추가
공통 개선:
- searchWithinParent, closeOtherMenus 플래그 추가
- testData, expectedAPIs, requiredVerifications 추가
- rollbackPlan 추가
2026-02-03 13:37:06 +09:00
|
|
|
"action": "verify_detail",
|
2026-02-07 13:46:22 +09:00
|
|
|
"checks": ["visible_text:직책"]
|
2026-02-03 08:59:26 +09:00
|
|
|
}
|
2026-02-07 13:46:22 +09:00
|
|
|
]
|
2026-02-03 08:59:26 +09:00
|
|
|
}
|