- accounting-cost (원가관리): 사이드바 메뉴 미존재 - accounting-financial (재무제표): 사이드바 메뉴 미존재 - inspection-management (검사관리): 사이드바 메뉴 미존재 - vehicle-management (차량관리): 1차 메뉴 미존재 - comprehensive-analysis (종합분석): 리포트 메뉴 미존재 - report-analysis (종합분석): 리포트 메뉴 미존재 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
472 lines
17 KiB
JSON
472 lines
17 KiB
JSON
{
|
|
"id": "deposit-management",
|
|
"name": "입금관리 테스트",
|
|
"screenshotPolicy": {
|
|
"onErrorOnly": true,
|
|
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
|
|
},
|
|
"description": "입금관리 목록 조회, 계정과목명 일괄변경, 상세 수정 기능 E2E 테스트",
|
|
"baseUrl": "https://dev.codebridge-x.com",
|
|
"url": "/ko/accounting/deposits",
|
|
"navigation": {
|
|
"targetUrl": "/accounting/deposits",
|
|
"urlPattern": "/accounting/deposits|/ko/accounting/deposits",
|
|
"menuHints": ["입금관리", "입금 관리", "회계관리"]
|
|
},
|
|
"menuNavigation": {
|
|
"level1": "회계관리",
|
|
"level2": "입금관리",
|
|
"expectedUrl": "/ko/accounting/deposits",
|
|
"searchWithinParent": true,
|
|
"closeOtherMenus": true
|
|
},
|
|
"menuNavigationEnhanced": {
|
|
"strategy": "scroll-and-search",
|
|
"description": "사이드바를 스크롤하며 메뉴를 찾고 클릭하여 404를 방지",
|
|
"level1": "회계관리",
|
|
"level2": "입금관리",
|
|
"alternativeLevel1Names": ["회계관리", "회계 관리", "Accounting"],
|
|
"alternativeLevel2Names": ["입금관리", "입금 관리", "Deposits"],
|
|
"scrollConfig": {
|
|
"sidebarSelector": "nav, aside, [role='navigation'], .sidebar, #sidebar",
|
|
"menuItemSelector": "a, button, [role='menuitem'], [role='treeitem']",
|
|
"scrollStep": 200,
|
|
"maxScrollAttempts": 10,
|
|
"scrollDelay": 300
|
|
}
|
|
},
|
|
"timeout": 60000,
|
|
"tags": ["accounting", "deposit", "crud"],
|
|
|
|
"auth": {
|
|
"username": "TestUser5",
|
|
"password": "password123!"
|
|
},
|
|
|
|
"steps": [
|
|
{
|
|
"id": "step-0",
|
|
"name": "사이드바 메뉴 전체 펼치기",
|
|
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
|
"actions": [
|
|
{ "type": "scroll", "target": "sidebar", "direction": "top", "description": "사이드바 최상단으로 스크롤" },
|
|
{ "type": "wait", "duration": 300 },
|
|
{ "type": "evaluate", "script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()" },
|
|
{ "type": "wait", "duration": 2000 }
|
|
]
|
|
},
|
|
{
|
|
"id": "step-1",
|
|
"name": "2단계 메뉴 진입: 회계관리 > 입금관리",
|
|
"description": "사이드바를 스크롤하며 회계관리 > 입금관리 메뉴를 찾아 클릭",
|
|
"actions": [
|
|
{
|
|
"type": "scrollAndFind",
|
|
"target": "회계관리",
|
|
"alternativeTexts": ["회계관리", "회계 관리", "Accounting"],
|
|
"scrollContainer": "sidebar",
|
|
"maxAttempts": 10,
|
|
"description": "스크롤하며 회계관리 메뉴 찾기"
|
|
},
|
|
{ "type": "click", "target": "회계관리", "description": "회계관리 메뉴 클릭" },
|
|
{ "type": "wait", "duration": 500, "description": "서브메뉴 펼쳐지기 대기" },
|
|
{
|
|
"type": "scrollAndFind",
|
|
"target": "입금관리",
|
|
"alternativeTexts": ["입금관리", "입금 관리", "Deposits"],
|
|
"scrollContainer": "submenu",
|
|
"maxAttempts": 5,
|
|
"description": "서브메뉴에서 입금관리 찾기"
|
|
},
|
|
{ "type": "click", "target": "입금관리", "description": "입금관리 메뉴 클릭" },
|
|
{ "type": "wait", "target": "페이지 로드 완료", "timeout": 10000 }
|
|
],
|
|
"expect": {
|
|
"url": "/accounting/deposits",
|
|
"visible": ["입금관리", "총 입금"]
|
|
},
|
|
"verification": [
|
|
"회계관리 메뉴가 펼쳐졌는지 확인",
|
|
"입금관리 서브메뉴 클릭 성공",
|
|
"404 에러 없이 페이지 로드 완료"
|
|
]
|
|
},
|
|
{
|
|
"id": "step-2",
|
|
"name": "목록 페이지 구조 확인",
|
|
"description": "테이블 및 필터 요소 확인",
|
|
"expect": {
|
|
"visible": ["입금일", "입금계좌", "입금자명", "입금금액", "거래처", "적요", "입금유형"],
|
|
"elements": {
|
|
"statisticsCards": ["총 입금", "당월 입금", "거래처 미설정", "입금유형 미설정"],
|
|
"filters": ["계정과목명", "저장", "새로고침"],
|
|
"pagination": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "step-3",
|
|
"name": "계정과목명 드롭다운 옵션 확인",
|
|
"description": "계정과목명 일괄변경 드롭다운 옵션 검증",
|
|
"actions": [
|
|
{ "type": "click", "target": "계정과목명 드롭다운", "description": "드롭다운 열기" }
|
|
],
|
|
"expect": {
|
|
"options": ["미설정", "매출대금", "선수금", "가수금", "임대수익", "이자수익", "보증금 반환", "차입금", "자본금", "부가세 환급", "기타"]
|
|
}
|
|
},
|
|
{
|
|
"id": "step-4",
|
|
"name": "체크박스 선택 후 계정과목명 일괄변경",
|
|
"description": "테이블 행 선택 후 계정과목명 일괄변경 저장",
|
|
"actions": [
|
|
{ "type": "click", "target": "첫 번째 행 체크박스", "description": "행 선택" },
|
|
{ "type": "click", "target": "계정과목명 드롭다운", "description": "드롭다운 열기" },
|
|
{ "type": "click", "target": "매출대금", "description": "매출대금 선택" },
|
|
{ "type": "click", "target": "저장", "description": "저장 버튼 클릭" }
|
|
],
|
|
"expect": {
|
|
"dialog": "확인 다이얼로그 표시",
|
|
"toast": "변경 완료 메시지"
|
|
}
|
|
},
|
|
{
|
|
"id": "step-4-1",
|
|
"name": "⚠️ 필수 검증: 계정과목명 변경 데이터 반영 확인",
|
|
"critical": true,
|
|
"note": "토스트 성공 메시지만으로 PASS 판정 불가. 실제 데이터 변경 확인 필수!",
|
|
"description": "저장 후 테이블에서 변경된 입금유형 값 확인",
|
|
"expect": {
|
|
"tableCell": {
|
|
"row": 1,
|
|
"column": "입금유형",
|
|
"value": "매출대금"
|
|
}
|
|
},
|
|
"knownBugReference": "BUG-SALES-20260115-001 (매출관리 동일 버그 확인 필요)"
|
|
},
|
|
{
|
|
"id": "step-5",
|
|
"name": "입금 상세 페이지 이동",
|
|
"description": "테이블 행 클릭하여 상세 페이지로 이동",
|
|
"actions": [
|
|
{ "type": "click", "target": "테이블 첫 번째 행", "description": "행 클릭 (체크박스 제외 영역)" }
|
|
],
|
|
"expect": {
|
|
"url": "/accounting/deposits/{id}",
|
|
"visible": ["입금 상세", "기본 정보", "목록", "삭제", "수정"]
|
|
}
|
|
},
|
|
{
|
|
"id": "step-6",
|
|
"name": "상세 페이지 읽기 모드 필드 확인",
|
|
"description": "수정 전 필드들이 비활성화 상태인지 확인",
|
|
"expect": {
|
|
"fields": [
|
|
{ "name": "입금일", "disabled": true },
|
|
{ "name": "입금계좌", "disabled": true },
|
|
{ "name": "입금자명", "disabled": true },
|
|
{ "name": "입금금액", "disabled": true },
|
|
{ "name": "적요", "disabled": true },
|
|
{ "name": "거래처", "disabled": true },
|
|
{ "name": "입금 유형", "disabled": true }
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "step-7",
|
|
"name": "수정 모드 전환",
|
|
"description": "수정 버튼 클릭하여 편집 모드로 전환",
|
|
"click": "수정",
|
|
"expect": {
|
|
"url": "/accounting/deposits/{id}?mode=edit",
|
|
"visible": ["입금 수정", "취소", "저장"],
|
|
"notVisible": ["목록", "삭제", "수정"]
|
|
}
|
|
},
|
|
{
|
|
"id": "step-8",
|
|
"name": "수정 모드 필드 활성화 검증",
|
|
"description": "수정 가능한 필드와 불가능한 필드 확인",
|
|
"expect": {
|
|
"fields": [
|
|
{ "name": "입금일", "disabled": true, "note": "은행데이터 - 수정 불가" },
|
|
{ "name": "입금계좌", "disabled": true, "note": "은행데이터 - 수정 불가" },
|
|
{ "name": "입금자명", "disabled": true, "note": "은행데이터 - 수정 불가" },
|
|
{ "name": "입금금액", "disabled": true, "note": "은행데이터 - 수정 불가" },
|
|
{ "name": "적요", "disabled": false, "editable": true },
|
|
{ "name": "거래처", "disabled": false, "type": "combobox", "editable": true },
|
|
{ "name": "입금 유형", "disabled": false, "type": "combobox", "editable": true }
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "step-9",
|
|
"name": "거래처 드롭다운 옵션 확인",
|
|
"description": "거래처 선택 드롭다운 옵션 검증",
|
|
"actions": [
|
|
{ "type": "click", "target": "거래처 드롭다운", "description": "드롭다운 열기" }
|
|
],
|
|
"expect": {
|
|
"options": ["거래처테스트", "아크더레드", "코브라브릿지", "가우스전자", "아크아크"]
|
|
}
|
|
},
|
|
{
|
|
"id": "step-10",
|
|
"name": "입금 유형 드롭다운 옵션 확인",
|
|
"description": "입금 유형 선택 드롭다운 옵션 검증",
|
|
"actions": [
|
|
{ "type": "click", "target": "입금 유형 드롭다운", "description": "드롭다운 열기" }
|
|
],
|
|
"expect": {
|
|
"options": ["미설정", "매출대금", "선수금", "가수금", "임대수익", "이자수익", "보증금 반환", "차입금", "자본금", "부가세 환급", "기타"]
|
|
}
|
|
},
|
|
{
|
|
"id": "step-11",
|
|
"name": "수정 데이터 입력",
|
|
"description": "수정 가능한 필드에 테스트 데이터 입력",
|
|
"form": {
|
|
"fields": [
|
|
{ "name": "적요", "type": "text", "value": "테스트 적요 수정" }
|
|
]
|
|
},
|
|
"actions": [
|
|
{ "type": "click", "target": "거래처 드롭다운", "description": "거래처 드롭다운 열기" },
|
|
{ "type": "click", "target": "거래처테스트", "description": "거래처 선택" },
|
|
{ "type": "click", "target": "입금 유형 드롭다운", "description": "입금 유형 드롭다운 열기" },
|
|
{ "type": "click", "target": "매출대금", "description": "매출대금 선택" }
|
|
]
|
|
},
|
|
{
|
|
"id": "step-12",
|
|
"name": "저장 및 결과 확인",
|
|
"description": "저장 버튼 클릭 후 데이터 반영 확인",
|
|
"click": "저장",
|
|
"expect": {
|
|
"toast": "저장 완료 메시지",
|
|
"url": "/accounting/deposits/{id}",
|
|
"mode": "view"
|
|
}
|
|
},
|
|
{
|
|
"id": "step-12-1",
|
|
"name": "⚠️ 필수 검증: 수정 데이터 반영 확인",
|
|
"critical": true,
|
|
"note": "토스트 성공 메시지만으로 PASS 판정 불가. 실제 데이터 변경 확인 필수!",
|
|
"description": "저장 후 상세 페이지에서 변경된 값 확인",
|
|
"expect": {
|
|
"fields": [
|
|
{ "name": "적요", "value": "테스트 적요 수정" },
|
|
{ "name": "거래처", "value": "거래처테스트" },
|
|
{ "name": "입금 유형", "value": "매출대금" }
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "step-13",
|
|
"name": "취소 버튼 동작 확인",
|
|
"description": "수정 모드에서 취소 버튼 동작 검증",
|
|
"actions": [
|
|
{ "type": "click", "target": "수정", "description": "수정 모드 진입" },
|
|
{ "type": "click", "target": "취소", "description": "취소 버튼 클릭" }
|
|
],
|
|
"expect": {
|
|
"url": "/accounting/deposits/{id}",
|
|
"mode": "view",
|
|
"visible": ["입금 상세", "목록", "삭제", "수정"]
|
|
}
|
|
},
|
|
{
|
|
"id": "step-14",
|
|
"name": "목록 버튼 동작 확인",
|
|
"description": "목록 버튼 클릭하여 목록 페이지로 이동",
|
|
"click": "목록",
|
|
"expect": {
|
|
"url": "/accounting/deposits",
|
|
"visible": ["입금관리", "총 입금"]
|
|
}
|
|
},
|
|
{
|
|
"id": "step-15",
|
|
"name": "필터 드롭다운 검증",
|
|
"description": "목록 페이지 필터 드롭다운 옵션 확인",
|
|
"note": "3개의 필터 드롭다운 존재 (거래처, 입금유형, 정렬)",
|
|
"expect": {
|
|
"filters": [
|
|
{ "name": "거래처 필터", "default": "전체" },
|
|
{ "name": "입금유형 필터", "default": "전체" },
|
|
{ "name": "정렬", "default": "최신순", "options": ["최신순", "등록순", "금액 높은순", "금액 낮은순"] }
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "step-16",
|
|
"name": "날짜 필터 검증",
|
|
"description": "날짜 필터 버튼 동작 확인",
|
|
"actions": [
|
|
{ "type": "click", "target": "당해년도", "description": "당해년도 버튼 클릭" }
|
|
],
|
|
"expect": {
|
|
"dateRange": {
|
|
"start": "2026-01-01",
|
|
"end": "2026-12-31"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "step-17",
|
|
"name": "페이지네이션 동작 확인",
|
|
"description": "페이지네이션 버튼 동작 검증",
|
|
"expect": {
|
|
"pagination": {
|
|
"totalItems": 60,
|
|
"itemsPerPage": 20,
|
|
"currentPage": 1,
|
|
"totalPages": 3
|
|
}
|
|
},
|
|
"actions": [
|
|
{ "type": "click", "target": "다음", "description": "다음 페이지로 이동" }
|
|
],
|
|
"expectAfterAction": {
|
|
"currentPage": 2,
|
|
"displayText": "전체 60개 중 21-40개 표시"
|
|
}
|
|
}
|
|
],
|
|
|
|
"deleteTest": {
|
|
"note": "삭제 테스트 - 이전에 스킵되었으나 CRUD 완전성을 위해 추가",
|
|
"steps": [
|
|
{
|
|
"id": "step-delete-1",
|
|
"name": "삭제 버튼 클릭",
|
|
"description": "상세 페이지에서 삭제 버튼 클릭",
|
|
"actions": [
|
|
{ "type": "click", "target": "삭제" }
|
|
],
|
|
"expect": {
|
|
"confirmDialog": true,
|
|
"dialogText": ["삭제", "하시겠습니까"]
|
|
}
|
|
},
|
|
{
|
|
"id": "step-delete-2",
|
|
"name": "삭제 확인",
|
|
"description": "삭제 확인 다이얼로그에서 확인 클릭",
|
|
"actions": [
|
|
{ "type": "click", "target": "확인", "description": "삭제 확인" }
|
|
],
|
|
"waitFor": {
|
|
"type": "navigation",
|
|
"url": "/accounting/deposits",
|
|
"timeout": 5000
|
|
},
|
|
"expect": {
|
|
"toast": ["삭제", "완료", "성공"],
|
|
"url": "/accounting/deposits"
|
|
}
|
|
},
|
|
{
|
|
"id": "step-delete-3",
|
|
"name": "⚠️ 필수 검증: 삭제 데이터 반영 확인",
|
|
"critical": true,
|
|
"note": "토스트 성공 메시지만으로 PASS 판정 불가. 실제 데이터 삭제 확인 필수!",
|
|
"description": "목록에서 삭제된 입금 내역이 없어졌는지 확인",
|
|
"verify": {
|
|
"tableNotContains": "테스트 적요 수정"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
"knownBugs": [
|
|
{
|
|
"id": "BUG-SALES-20260115-001",
|
|
"description": "계정과목명 일괄변경 시 토스트 성공 표시되나 실제 데이터 미변경 (매출관리)",
|
|
"relatedSteps": ["step-4-1"],
|
|
"note": "입금관리에서도 동일한 버그가 존재할 수 있으므로 step-4-1에서 검증 필수"
|
|
}
|
|
],
|
|
|
|
"testData": {
|
|
"sampleDeposit": {
|
|
"date": "2025-12-28",
|
|
"account": "운영계좌",
|
|
"depositor": "CJ대한통운",
|
|
"amount": "8,209,677",
|
|
"vendor": "CJ대한통운",
|
|
"description": "CJ대한통운 입금",
|
|
"depositType": "미설정"
|
|
},
|
|
"modifiedData": {
|
|
"description": "테스트 적요 수정",
|
|
"vendor": "거래처테스트",
|
|
"depositType": "매출대금"
|
|
}
|
|
},
|
|
|
|
"pageStructure": {
|
|
"listPage": {
|
|
"url": "/accounting/deposits",
|
|
"title": "입금관리",
|
|
"statistics": ["총 입금", "당월 입금", "거래처 미설정", "입금유형 미설정"],
|
|
"tableColumns": ["checkbox", "입금일", "입금계좌", "입금자명", "입금금액", "거래처", "적요", "입금유형", "action"],
|
|
"batchUpdate": {
|
|
"label": "계정과목명",
|
|
"saveButton": "저장"
|
|
},
|
|
"filters": ["거래처", "입금유형", "정렬"],
|
|
"dateFilters": ["당해년도", "전전월", "전월", "당월", "어제", "오늘"]
|
|
},
|
|
"detailPage": {
|
|
"url": "/accounting/deposits/{id}",
|
|
"title": "입금 상세",
|
|
"buttons": ["목록", "삭제", "수정"],
|
|
"fields": {
|
|
"readOnly": ["입금일", "입금계좌", "입금자명", "입금금액"],
|
|
"editable": ["적요", "거래처", "입금 유형"]
|
|
}
|
|
},
|
|
"editPage": {
|
|
"url": "/accounting/deposits/{id}?mode=edit",
|
|
"title": "입금 수정",
|
|
"buttons": ["취소", "저장"]
|
|
}
|
|
},
|
|
|
|
"dropdownOptions": {
|
|
"accountSubject": {
|
|
"label": "계정과목명",
|
|
"options": ["미설정", "매출대금", "선수금", "가수금", "임대수익", "이자수익", "보증금 반환", "차입금", "자본금", "부가세 환급", "기타"]
|
|
},
|
|
"depositType": {
|
|
"label": "입금 유형",
|
|
"options": ["미설정", "매출대금", "선수금", "가수금", "임대수익", "이자수익", "보증금 반환", "차입금", "자본금", "부가세 환급", "기타"]
|
|
},
|
|
"vendor": {
|
|
"label": "거래처",
|
|
"options": ["거래처테스트", "아크더레드", "코브라브릿지", "가우스전자", "아크아크"]
|
|
},
|
|
"sortOrder": {
|
|
"label": "정렬",
|
|
"options": ["최신순", "등록순", "금액 높은순", "금액 낮은순"]
|
|
}
|
|
},
|
|
|
|
"assertions": [
|
|
{
|
|
"type": "url",
|
|
"expected": "/accounting/deposits",
|
|
"message": "목록 페이지 URL 확인"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"target": "body",
|
|
"expected": "입금관리",
|
|
"message": "페이지 타이틀 확인"
|
|
}
|
|
]
|
|
}
|