revert: Round 5 롤백 - 브라우저 크래시 문제로 복원
This commit is contained in:
@@ -3,14 +3,7 @@
|
||||
"name": "매출관리 테스트",
|
||||
"screenshotPolicy": {
|
||||
"onErrorOnly": true,
|
||||
"captureOn": [
|
||||
"error",
|
||||
"fail",
|
||||
"timeout",
|
||||
"404",
|
||||
"500",
|
||||
"blocked"
|
||||
]
|
||||
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
|
||||
},
|
||||
"description": "회계관리 > 매출관리 메뉴의 매출등록, 계정과목 저장, 품목 동적 추가, 자동계산 로직 테스트",
|
||||
"baseUrl": "https://dev.codebridge-x.com",
|
||||
@@ -24,11 +17,7 @@
|
||||
"navigation": {
|
||||
"targetUrl": "/accounting/sales",
|
||||
"urlPattern": "/accounting/sales|/ko/accounting/sales",
|
||||
"menuHints": [
|
||||
"매출관리",
|
||||
"매출",
|
||||
"회계관리"
|
||||
]
|
||||
"menuHints": ["매출관리", "매출", "회계관리"]
|
||||
},
|
||||
"menuNavigationEnhanced": {
|
||||
"strategy": "scroll-and-search",
|
||||
@@ -70,25 +59,19 @@
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{
|
||||
"type": "wait",
|
||||
"duration": 300
|
||||
},
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{
|
||||
"type": "wait",
|
||||
"duration": 2000
|
||||
}
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expected": "사이드바 전체 메뉴가 펼쳐짐"
|
||||
},
|
||||
{
|
||||
"id": 1,
|
||||
"name": "로그인",
|
||||
"action": "click_if_exists",
|
||||
"action": "login",
|
||||
"target": "/ko/login",
|
||||
"expected": "로그인 성공 후 메인 페이지 이동"
|
||||
},
|
||||
@@ -107,7 +90,7 @@
|
||||
"maxAttempts": 10
|
||||
},
|
||||
{
|
||||
"type": "click_if_exists",
|
||||
"type": "click",
|
||||
"target": "회계관리",
|
||||
"selectors": [
|
||||
"//span[contains(text(),'회계관리')]",
|
||||
@@ -127,7 +110,7 @@
|
||||
"maxAttempts": 5
|
||||
},
|
||||
{
|
||||
"type": "click_if_exists",
|
||||
"type": "click",
|
||||
"target": "매출관리",
|
||||
"selectors": [
|
||||
"//a[contains(text(),'매출관리')]",
|
||||
@@ -147,10 +130,7 @@
|
||||
"expected": {
|
||||
"url": "/ko/accounting/sales",
|
||||
"pageTitle": "매출관리",
|
||||
"elements": [
|
||||
"매출 등록 버튼",
|
||||
"테이블"
|
||||
]
|
||||
"elements": ["매출 등록 버튼", "테이블"]
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -198,7 +178,7 @@
|
||||
{
|
||||
"id": 6,
|
||||
"name": "계정과목명 드롭박스 옵션 확인",
|
||||
"action": "click_if_exists",
|
||||
"action": "click_dropdown",
|
||||
"target": "accountSubject",
|
||||
"checks": [
|
||||
"미설정 옵션",
|
||||
@@ -211,14 +191,14 @@
|
||||
{
|
||||
"id": 7,
|
||||
"name": "체크박스 선택 (계정과목 저장용)",
|
||||
"action": "click_if_exists",
|
||||
"action": "click_checkbox",
|
||||
"target": "first_row",
|
||||
"expected": "첫 번째 행 체크박스 선택됨"
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"name": "계정과목 변경 - 제품매출 선택",
|
||||
"action": "click_if_exists",
|
||||
"action": "select_option",
|
||||
"target": "accountSubject",
|
||||
"value": "product",
|
||||
"expected": "계정과목이 '제품매출'로 변경됨"
|
||||
@@ -226,7 +206,7 @@
|
||||
{
|
||||
"id": 9,
|
||||
"name": "필수 검증 #2: 계정과목 저장 버튼 클릭",
|
||||
"action": "click_if_exists",
|
||||
"action": "click_button",
|
||||
"target": "저장",
|
||||
"checks": [
|
||||
"확인 다이얼로그 표시",
|
||||
@@ -238,7 +218,7 @@
|
||||
{
|
||||
"id": 10,
|
||||
"name": "저장 확인 다이얼로그 - 확인 클릭",
|
||||
"action": "click_if_exists",
|
||||
"action": "confirm_dialog",
|
||||
"checks": [
|
||||
"API 호출 확인 (PUT /api/v1/sales/batch-update-account)",
|
||||
"성공 토스트 메시지",
|
||||
@@ -249,7 +229,7 @@
|
||||
{
|
||||
"id": "10-1",
|
||||
"name": "⚠️ 필수 검증: 계정과목명 변경 데이터 반영 확인",
|
||||
"action": "verify_detail",
|
||||
"action": "verify_data_update",
|
||||
"target": "first_row",
|
||||
"checks": [
|
||||
"선택한 행의 매출유형 컬럼 값 확인",
|
||||
@@ -263,7 +243,7 @@
|
||||
{
|
||||
"id": 11,
|
||||
"name": "매출 등록 버튼 클릭",
|
||||
"action": "click_if_exists",
|
||||
"action": "click_button",
|
||||
"target": "매출 등록",
|
||||
"expected": "매출 등록 페이지로 이동 (/ko/accounting/sales?mode=new)"
|
||||
},
|
||||
@@ -289,7 +269,7 @@
|
||||
{
|
||||
"id": 14,
|
||||
"name": "매출번호 자동생성 확인",
|
||||
"action": "verify_detail",
|
||||
"action": "verify_field",
|
||||
"target": "salesNo",
|
||||
"checks": [
|
||||
"값이 자동 생성됨 (예: S-2026-0001)",
|
||||
@@ -300,14 +280,14 @@
|
||||
{
|
||||
"id": 15,
|
||||
"name": "거래처명 드롭박스 클릭",
|
||||
"action": "click_if_exists",
|
||||
"action": "click_dropdown",
|
||||
"target": "vendorId",
|
||||
"expected": "거래처 목록 표시"
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"name": "거래처명 선택",
|
||||
"action": "click_if_exists",
|
||||
"action": "select_option",
|
||||
"target": "vendorId",
|
||||
"value": "first_available",
|
||||
"expected": "거래처가 선택됨"
|
||||
@@ -315,7 +295,7 @@
|
||||
{
|
||||
"id": 17,
|
||||
"name": "매출유형 드롭박스 확인",
|
||||
"action": "click_if_exists",
|
||||
"action": "click_dropdown",
|
||||
"target": "salesType",
|
||||
"checks": [
|
||||
"외상매출 옵션",
|
||||
@@ -331,7 +311,7 @@
|
||||
{
|
||||
"id": 18,
|
||||
"name": "매출유형 선택 - 제품매출",
|
||||
"action": "click_if_exists",
|
||||
"action": "select_option",
|
||||
"target": "salesType",
|
||||
"value": "product",
|
||||
"expected": "매출유형이 '제품매출'로 선택됨"
|
||||
@@ -351,35 +331,35 @@
|
||||
{
|
||||
"id": 20,
|
||||
"name": "품목 동적 추가 - 추가 버튼 클릭",
|
||||
"action": "click_if_exists",
|
||||
"action": "click_button",
|
||||
"target": "품목 추가",
|
||||
"expected": "새로운 품목 행 추가됨"
|
||||
},
|
||||
{
|
||||
"id": 21,
|
||||
"name": "품목 행 개수 확인 (2개)",
|
||||
"action": "verify_detail",
|
||||
"action": "verify_row_count",
|
||||
"target": "items_table",
|
||||
"expected": "품목 행이 2개로 증가"
|
||||
},
|
||||
{
|
||||
"id": 22,
|
||||
"name": "품목 동적 삭제 - 두 번째 행 삭제",
|
||||
"action": "click_if_exists",
|
||||
"action": "click_button",
|
||||
"target": "remove_item_row_2",
|
||||
"expected": "두 번째 품목 행 삭제됨"
|
||||
},
|
||||
{
|
||||
"id": 23,
|
||||
"name": "품목 행 개수 확인 (1개)",
|
||||
"action": "verify_detail",
|
||||
"action": "verify_row_count",
|
||||
"target": "items_table",
|
||||
"expected": "품목 행이 1개로 감소"
|
||||
},
|
||||
{
|
||||
"id": 24,
|
||||
"name": "품목명 입력",
|
||||
"action": "click_if_exists",
|
||||
"action": "type_text",
|
||||
"target": "items[0].itemName",
|
||||
"value": "테스트 품목",
|
||||
"expected": "품목명 입력됨"
|
||||
@@ -387,7 +367,7 @@
|
||||
{
|
||||
"id": 25,
|
||||
"name": "수량 입력",
|
||||
"action": "click_if_exists",
|
||||
"action": "type_text",
|
||||
"target": "items[0].quantity",
|
||||
"value": "10",
|
||||
"expected": "수량 입력됨"
|
||||
@@ -395,7 +375,7 @@
|
||||
{
|
||||
"id": 26,
|
||||
"name": "단가 입력",
|
||||
"action": "click_if_exists",
|
||||
"action": "type_text",
|
||||
"target": "items[0].unitPrice",
|
||||
"value": "50000",
|
||||
"expected": "단가 입력됨"
|
||||
@@ -403,7 +383,7 @@
|
||||
{
|
||||
"id": 27,
|
||||
"name": "자동계산 검증 - 공급가액",
|
||||
"action": "verify_detail",
|
||||
"action": "verify_calculated_value",
|
||||
"target": "items[0].supplyAmount",
|
||||
"formula": "quantity * unitPrice",
|
||||
"expectedValue": "500000",
|
||||
@@ -416,7 +396,7 @@
|
||||
{
|
||||
"id": 28,
|
||||
"name": "자동계산 검증 - 부가세",
|
||||
"action": "verify_detail",
|
||||
"action": "verify_calculated_value",
|
||||
"target": "items[0].vat",
|
||||
"formula": "supplyAmount * 0.1",
|
||||
"expectedValue": "50000",
|
||||
@@ -429,7 +409,7 @@
|
||||
{
|
||||
"id": 29,
|
||||
"name": "적요 입력 (선택사항)",
|
||||
"action": "click_if_exists",
|
||||
"action": "type_text",
|
||||
"target": "items[0].note",
|
||||
"value": "테스트 적요",
|
||||
"expected": "적요 입력됨"
|
||||
@@ -493,7 +473,7 @@
|
||||
{
|
||||
"id": 36,
|
||||
"name": "합계 금액 확인",
|
||||
"action": "verify_detail",
|
||||
"action": "verify_totals",
|
||||
"checks": [
|
||||
"총 공급가액: 500,000원",
|
||||
"총 부가세: 50,000원",
|
||||
@@ -504,7 +484,7 @@
|
||||
{
|
||||
"id": 37,
|
||||
"name": "취소 버튼 동작 테스트",
|
||||
"action": "click_if_exists",
|
||||
"action": "click_button",
|
||||
"target": "취소",
|
||||
"expected": "취소 확인 다이얼로그 또는 목록 페이지로 이동"
|
||||
},
|
||||
@@ -518,14 +498,14 @@
|
||||
{
|
||||
"id": 39,
|
||||
"name": "다시 매출 등록 페이지 진입",
|
||||
"action": "click_if_exists",
|
||||
"action": "click_button",
|
||||
"target": "매출 등록",
|
||||
"expected": "매출 등록 페이지로 이동"
|
||||
},
|
||||
{
|
||||
"id": 40,
|
||||
"name": "등록 테스트용 데이터 입력 - 거래처 선택",
|
||||
"action": "click_if_exists",
|
||||
"action": "select_option",
|
||||
"target": "vendorId",
|
||||
"value": "first_available",
|
||||
"expected": "거래처 선택됨"
|
||||
@@ -533,7 +513,7 @@
|
||||
{
|
||||
"id": 41,
|
||||
"name": "등록 테스트용 데이터 입력 - 매출유형",
|
||||
"action": "click_if_exists",
|
||||
"action": "select_option",
|
||||
"target": "salesType",
|
||||
"value": "product",
|
||||
"expected": "매출유형 선택됨"
|
||||
@@ -541,7 +521,7 @@
|
||||
{
|
||||
"id": 42,
|
||||
"name": "등록 테스트용 데이터 입력 - 품목명",
|
||||
"action": "click_if_exists",
|
||||
"action": "type_text",
|
||||
"target": "items[0].itemName",
|
||||
"value": "E2E 테스트 품목",
|
||||
"expected": "품목명 입력됨"
|
||||
@@ -549,7 +529,7 @@
|
||||
{
|
||||
"id": 43,
|
||||
"name": "등록 테스트용 데이터 입력 - 수량",
|
||||
"action": "click_if_exists",
|
||||
"action": "type_text",
|
||||
"target": "items[0].quantity",
|
||||
"value": "5",
|
||||
"expected": "수량 입력됨"
|
||||
@@ -557,7 +537,7 @@
|
||||
{
|
||||
"id": 44,
|
||||
"name": "등록 테스트용 데이터 입력 - 단가",
|
||||
"action": "click_if_exists",
|
||||
"action": "type_text",
|
||||
"target": "items[0].unitPrice",
|
||||
"value": "100000",
|
||||
"expected": "단가 입력됨"
|
||||
@@ -565,7 +545,7 @@
|
||||
{
|
||||
"id": 45,
|
||||
"name": "필수 검증 #2: 등록 버튼 클릭",
|
||||
"action": "click_if_exists",
|
||||
"action": "click_button",
|
||||
"target": "등록",
|
||||
"checks": [
|
||||
"버튼 클릭 전 URL 저장",
|
||||
@@ -592,7 +572,7 @@
|
||||
{
|
||||
"id": 48,
|
||||
"name": "등록된 매출 목록 확인",
|
||||
"action": "verify_detail",
|
||||
"action": "verify_table_data",
|
||||
"checks": [
|
||||
"신규 등록된 매출이 목록에 표시됨",
|
||||
"품목명: E2E 테스트 품목",
|
||||
@@ -610,7 +590,7 @@
|
||||
{
|
||||
"id": 50,
|
||||
"name": "거래처 미선택 상태에서 등록 시도",
|
||||
"action": "click_if_exists",
|
||||
"action": "click_button",
|
||||
"target": "등록",
|
||||
"expected": "유효성 검증 실패 - 경고 메시지"
|
||||
},
|
||||
@@ -633,13 +613,7 @@
|
||||
{
|
||||
"id": 2,
|
||||
"name": "등록/저장 버튼",
|
||||
"steps": [
|
||||
9,
|
||||
10,
|
||||
45,
|
||||
46,
|
||||
47
|
||||
],
|
||||
"steps": [9, 10, 45, 46, 47],
|
||||
"criteria": "계정과목 저장 + 매출 등록 시 API 호출 + 성공 토스트 + URL 유지/이동 확인"
|
||||
},
|
||||
{
|
||||
@@ -651,18 +625,13 @@
|
||||
{
|
||||
"id": 4,
|
||||
"name": "모달 등록 완료",
|
||||
"steps": [
|
||||
9,
|
||||
10
|
||||
],
|
||||
"steps": [9, 10],
|
||||
"criteria": "계정과목 저장 확인 다이얼로그 → 확인 클릭 → 저장 완료"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"name": "⚠️ 계정과목명 변경 데이터 반영 (필수)",
|
||||
"steps": [
|
||||
"10-1"
|
||||
],
|
||||
"steps": ["10-1"],
|
||||
"criteria": "저장 후 실제 테이블 데이터가 변경되었는지 확인. 토스트만 확인하면 불충분!",
|
||||
"priority": "critical",
|
||||
"knownBug": {
|
||||
@@ -674,9 +643,7 @@
|
||||
{
|
||||
"id": 5,
|
||||
"name": "목업 페이지 감지",
|
||||
"steps": [
|
||||
3
|
||||
],
|
||||
"steps": [3],
|
||||
"criteria": "입력 필드, 동작 버튼, API 호출 확인"
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user