2026-02-03 08:59:26 +09:00
|
|
|
{
|
|
|
|
|
"id": "settings-notification",
|
|
|
|
|
"name": "알림설정 테스트",
|
|
|
|
|
"screenshotPolicy": {
|
|
|
|
|
"onErrorOnly": true,
|
2026-02-09 15:05:03 +09:00
|
|
|
"captureOn": [
|
|
|
|
|
"error",
|
|
|
|
|
"fail",
|
|
|
|
|
"timeout",
|
|
|
|
|
"404",
|
|
|
|
|
"500",
|
|
|
|
|
"blocked"
|
|
|
|
|
]
|
2026-02-03 08:59:26 +09:00
|
|
|
},
|
2026-02-03 13:40:06 +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/notification-settings",
|
2026-02-03 13:40:06 +09:00
|
|
|
"searchWithinParent": true,
|
|
|
|
|
"closeOtherMenus": true
|
2026-02-03 08:59:26 +09:00
|
|
|
},
|
|
|
|
|
"auth": {
|
|
|
|
|
"username": "TestUser5",
|
|
|
|
|
"password": "password123!"
|
|
|
|
|
},
|
2026-02-03 13:40:06 +09:00
|
|
|
"testData": {
|
|
|
|
|
"update": {
|
|
|
|
|
"emailNotification": true,
|
|
|
|
|
"pushNotification": true,
|
|
|
|
|
"approvalNotification": true,
|
|
|
|
|
"attendanceNotification": false
|
|
|
|
|
}
|
|
|
|
|
},
|
2026-02-03 08:59:26 +09:00
|
|
|
"steps": [
|
|
|
|
|
{
|
|
|
|
|
"id": 1,
|
|
|
|
|
"name": "메뉴 진입: 설정 > 알림설정",
|
|
|
|
|
"action": "menu_navigate",
|
|
|
|
|
"level1": "설정",
|
|
|
|
|
"level2": "알림설정",
|
|
|
|
|
"expected": {
|
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
|
|
|
"url_contains": "/settings/notification-settings",
|
2026-02-09 15:05:03 +09:00
|
|
|
"visible": [
|
|
|
|
|
"알림설정",
|
|
|
|
|
"알림"
|
|
|
|
|
]
|
2026-02-03 08:59:26 +09:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 2,
|
2026-02-09 15:05:03 +09:00
|
|
|
"name": "URL 검증",
|
|
|
|
|
"action": "verify_url",
|
|
|
|
|
"expected": {
|
|
|
|
|
"url_contains": "/settings/notification-settings"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 3,
|
2026-02-03 08:59:26 +09:00
|
|
|
"name": "필수 검증 #5: 목업 페이지 감지",
|
|
|
|
|
"action": "verify_not_mockup",
|
|
|
|
|
"checks": [
|
2026-02-03 13:40:06 +09:00
|
|
|
"알림 설정 폼 표시",
|
|
|
|
|
"알림 ON/OFF 토글 존재",
|
|
|
|
|
"저장 버튼 존재"
|
2026-02-03 08:59:26 +09:00
|
|
|
],
|
|
|
|
|
"expected": "정상 페이지 (목업 아님)"
|
|
|
|
|
},
|
|
|
|
|
{
|
2026-02-09 15:05:03 +09:00
|
|
|
"id": 4,
|
|
|
|
|
"name": "통계 카드 확인",
|
|
|
|
|
"action": "evaluate",
|
|
|
|
|
"script": "(() => {\n const cards = document.querySelectorAll('[class*=\"card\"], [class*=\"Card\"], [class*=\"stat\"], [class*=\"Stat\"], [class*=\"summary\"]');\n const texts = Array.from(cards).map(c => c.innerText?.substring(0, 30)).filter(Boolean);\n return texts.length > 0 ? 'Stats: ' + texts.length + ' cards found' : 'No stat cards (ok)';\n })()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 5,
|
2026-02-03 13:40:06 +09:00
|
|
|
"name": "알림 설정 폼 구조 확인",
|
2026-02-03 08:59:26 +09:00
|
|
|
"action": "verify_elements",
|
|
|
|
|
"checks": [
|
2026-02-03 13:40:06 +09:00
|
|
|
"이메일 알림 토글",
|
|
|
|
|
"푸시 알림 토글",
|
|
|
|
|
"결재 알림 설정",
|
|
|
|
|
"근태 알림 설정"
|
2026-02-03 08:59:26 +09:00
|
|
|
],
|
2026-02-03 13:40:06 +09:00
|
|
|
"expected": "알림 설정 폼 정상 표시"
|
2026-02-03 08:59:26 +09:00
|
|
|
},
|
|
|
|
|
{
|
2026-02-09 15:05:03 +09:00
|
|
|
"id": 6,
|
2026-02-03 13:40:06 +09:00
|
|
|
"phase": "READ",
|
|
|
|
|
"name": "[READ] 현재 알림 설정 확인",
|
|
|
|
|
"action": "verify_detail",
|
|
|
|
|
"checks": [
|
|
|
|
|
"이메일 알림 상태 표시",
|
|
|
|
|
"푸시 알림 상태 표시",
|
|
|
|
|
"결재 알림 상태 표시"
|
|
|
|
|
],
|
|
|
|
|
"expected": "현재 알림 설정 정상 표시"
|
|
|
|
|
},
|
|
|
|
|
{
|
2026-02-09 15:05:03 +09:00
|
|
|
"id": 7,
|
2026-02-03 13:40:06 +09:00
|
|
|
"phase": "UPDATE",
|
|
|
|
|
"name": "[UPDATE] 이메일 알림 토글",
|
2026-02-09 17:56:59 +09:00
|
|
|
"action": "click",
|
2026-03-07 22:04:16 +09:00
|
|
|
"target": "이메일",
|
|
|
|
|
"description": "이메일 알림 토글 스위치 클릭",
|
2026-02-03 13:40:06 +09:00
|
|
|
"expected": {
|
|
|
|
|
"toggle_changed": true
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
2026-02-09 15:05:03 +09:00
|
|
|
"id": 8,
|
2026-02-03 13:40:06 +09:00
|
|
|
"phase": "UPDATE",
|
|
|
|
|
"name": "[UPDATE] 푸시 알림 토글",
|
2026-02-05 20:47:11 +09:00
|
|
|
"action": "click_if_exists",
|
2026-03-07 22:04:16 +09:00
|
|
|
"target": "푸시",
|
|
|
|
|
"description": "푸시 알림 토글 스위치 클릭",
|
2026-02-03 13:40:06 +09:00
|
|
|
"expected": {
|
|
|
|
|
"toggle_changed": true
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
2026-02-09 15:05:03 +09:00
|
|
|
"id": 9,
|
2026-02-03 13:40:06 +09:00
|
|
|
"phase": "UPDATE",
|
|
|
|
|
"name": "[UPDATE] 결재 알림 설정",
|
2026-02-05 20:47:11 +09:00
|
|
|
"action": "click_if_exists",
|
2026-03-07 22:04:16 +09:00
|
|
|
"target": "결재",
|
|
|
|
|
"description": "결재 알림 토글 스위치 클릭",
|
2026-02-03 13:40:06 +09:00
|
|
|
"expected": {
|
|
|
|
|
"toggle_changed": true
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
2026-02-09 15:05:03 +09:00
|
|
|
"id": 10,
|
2026-02-03 13:40:06 +09:00
|
|
|
"phase": "UPDATE",
|
|
|
|
|
"name": "[UPDATE] 필수 검증 #2: 알림 설정 저장",
|
2026-02-09 17:56:59 +09:00
|
|
|
"action": "click",
|
2026-03-07 22:04:16 +09:00
|
|
|
"target": "저장",
|
2026-02-03 13:40:06 +09:00
|
|
|
"verify": {
|
|
|
|
|
"url_maintained": true,
|
|
|
|
|
"no_error_page": true,
|
|
|
|
|
"api_call": "PUT /api/v1/settings/notifications",
|
|
|
|
|
"toast": "저장|적용|완료|성공"
|
|
|
|
|
},
|
|
|
|
|
"expected": "알림 설정 저장 완료"
|
|
|
|
|
},
|
|
|
|
|
{
|
2026-02-09 15:05:03 +09:00
|
|
|
"id": 11,
|
2026-02-03 13:40:06 +09:00
|
|
|
"phase": "UPDATE",
|
|
|
|
|
"name": "[UPDATE] 저장 결과 확인",
|
|
|
|
|
"action": "verify_detail",
|
|
|
|
|
"checks": [
|
|
|
|
|
"변경된 알림 설정 반영"
|
|
|
|
|
],
|
|
|
|
|
"expected": "수정된 설정 반영"
|
|
|
|
|
},
|
|
|
|
|
{
|
2026-02-09 15:05:03 +09:00
|
|
|
"id": 12,
|
2026-02-03 13:40:06 +09:00
|
|
|
"name": "알림 유형별 설정 확인",
|
2026-02-03 08:59:26 +09:00
|
|
|
"action": "verify_elements",
|
|
|
|
|
"checks": [
|
2026-02-03 13:40:06 +09:00
|
|
|
"시스템 알림 설정",
|
|
|
|
|
"업무 알림 설정",
|
|
|
|
|
"일정 알림 설정"
|
|
|
|
|
],
|
|
|
|
|
"expected": "알림 유형별 설정 표시"
|
|
|
|
|
},
|
|
|
|
|
{
|
2026-02-09 15:05:03 +09:00
|
|
|
"id": 13,
|
2026-02-03 13:40:06 +09:00
|
|
|
"name": "알림 수신 시간 설정 확인",
|
|
|
|
|
"action": "verify_elements",
|
|
|
|
|
"checks": [
|
|
|
|
|
"수신 시간대 설정",
|
|
|
|
|
"방해금지 시간 설정"
|
|
|
|
|
],
|
|
|
|
|
"expected": "시간 설정 표시"
|
|
|
|
|
},
|
|
|
|
|
{
|
2026-02-09 15:05:03 +09:00
|
|
|
"id": 14,
|
|
|
|
|
"name": "페이지네이션 확인",
|
|
|
|
|
"action": "evaluate",
|
|
|
|
|
"script": "(() => {\n const paginationSels = ['[class*=\"pagination\"]', '[class*=\"Pagination\"]', 'nav[aria-label*=\"page\"]', 'button[aria-label*=\"page\"]', '[class*=\"pager\"]'];\n for (const sel of paginationSels) {\n const el = document.querySelector(sel);\n if (el) return 'Pagination found';\n }\n const pageButtons = Array.from(document.querySelectorAll('button')).filter(b => /^\\d+$/.test(b.innerText?.trim()));\n if (pageButtons.length > 0) return 'Page buttons found: ' + pageButtons.length;\n return 'No pagination (ok - may have single page)';\n })()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 15,
|
|
|
|
|
"name": "콘솔 에러 확인",
|
|
|
|
|
"action": "verify_element",
|
|
|
|
|
"target": "body"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 16,
|
2026-02-03 13:40:06 +09:00
|
|
|
"name": "알림 테스트 전송 확인",
|
|
|
|
|
"action": "verify_elements",
|
|
|
|
|
"checks": [
|
|
|
|
|
"테스트 알림 전송 버튼"
|
2026-02-03 08:59:26 +09:00
|
|
|
],
|
2026-02-03 13:40:06 +09:00
|
|
|
"expected": "테스트 버튼 표시"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"expectedAPIs": [
|
|
|
|
|
{
|
|
|
|
|
"method": "GET",
|
|
|
|
|
"endpoint": "/api/v1/settings/notifications",
|
|
|
|
|
"description": "알림 설정 조회"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"method": "PUT",
|
|
|
|
|
"endpoint": "/api/v1/settings/notifications",
|
|
|
|
|
"description": "알림 설정 수정"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"method": "POST",
|
|
|
|
|
"endpoint": "/api/v1/settings/notifications/test",
|
|
|
|
|
"description": "테스트 알림 전송"
|
2026-02-03 08:59:26 +09:00
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"requiredVerifications": [
|
2026-02-03 13:40:06 +09:00
|
|
|
{
|
|
|
|
|
"id": 2,
|
|
|
|
|
"name": "저장 버튼",
|
2026-02-09 15:05:03 +09:00
|
|
|
"steps": [
|
|
|
|
|
8
|
|
|
|
|
],
|
2026-02-03 13:40:06 +09:00
|
|
|
"criteria": "API 호출 + 성공 토스트 + 설정 반영"
|
|
|
|
|
},
|
2026-02-03 08:59:26 +09:00
|
|
|
{
|
|
|
|
|
"id": 5,
|
|
|
|
|
"name": "목업 페이지 감지",
|
2026-02-09 15:05:03 +09:00
|
|
|
"steps": [
|
|
|
|
|
2
|
|
|
|
|
],
|
2026-02-03 13:40:06 +09:00
|
|
|
"criteria": "알림 설정 폼, 저장 버튼 존재"
|
2026-02-03 08:59:26 +09:00
|
|
|
}
|
2026-02-03 13:40:06 +09:00
|
|
|
],
|
|
|
|
|
"rollbackPlan": {
|
|
|
|
|
"onUpdateFail": "페이지 새로고침으로 원래 값 복원",
|
|
|
|
|
"note": "설정 페이지는 수정 후 원복 테스트 권장"
|
|
|
|
|
}
|
2026-02-03 08:59:26 +09:00
|
|
|
}
|