revert: Round 5 롤백 - 브라우저 크래시 문제로 복원

This commit is contained in:
김보곤
2026-02-06 00:39:28 +09:00
parent d23454d573
commit 701e05ab59
83 changed files with 1262 additions and 2611 deletions

View File

@@ -3,25 +3,14 @@
"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",
"navigation": {
"targetUrl": "/accounting/vendor-ledger",
"urlPattern": "/accounting/vendor-ledger|/ko/accounting/vendor-ledger",
"menuHints": [
"거래처원장",
"거래처 원장",
"회계관리"
]
"menuHints": ["거래처원장", "거래처 원장", "회계관리"]
},
"menuNavigation": {
"level1": "회계관리",
@@ -34,10 +23,7 @@
"strategy": "scroll-and-search",
"level1": {
"text": "회계관리",
"alternativeNames": [
"회계",
"Accounting"
],
"alternativeNames": ["회계", "Accounting"],
"scrollConfig": {
"direction": "down",
"maxScrollAttempts": 5,
@@ -46,10 +32,7 @@
},
"level2": {
"text": "거래처원장",
"alternativeNames": [
"거래처 원장",
"Vendor Ledger"
],
"alternativeNames": ["거래처 원장", "Vendor Ledger"],
"scrollConfig": {
"direction": "down",
"maxScrollAttempts": 3,
@@ -73,18 +56,12 @@
"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": "사이드바 전체 메뉴가 펼쳐짐"
},
@@ -117,7 +94,7 @@
}
},
{
"type": "click_if_exists",
"type": "click",
"target": "회계관리"
},
{
@@ -142,7 +119,7 @@
}
},
{
"type": "click_if_exists",
"type": "click",
"target": "거래처원장"
},
{
@@ -153,10 +130,7 @@
"expected": {
"url": "/ko/accounting/vendor-ledger",
"pageTitle": "거래처원장",
"elements": [
"통계 카드",
"테이블"
]
"elements": ["통계 카드", "테이블"]
}
},
{
@@ -218,7 +192,7 @@
{
"id": 8,
"name": "기간 설정 - 데이터 변화 확인",
"action": "verify_detail",
"action": "verify_data_change",
"checks": [
"테이블 데이터 갱신",
"통계 카드 값 갱신",
@@ -238,7 +212,7 @@
"description": "검색 전 행 수 저장"
},
{
"type": "click_if_exists",
"type": "fill",
"target": "searchInput",
"value": "{testData.searchKeyword}",
"description": "검색어 입력"
@@ -275,7 +249,7 @@
{
"id": 10,
"name": "검색 결과 확인",
"action": "verify_detail",
"action": "verify_search_result",
"checks": [
"테이블 행 수 변화",
"검색어 포함 거래처명 표시"
@@ -287,7 +261,7 @@
"name": "검색 초기화",
"actions": [
{
"type": "click_if_exists",
"type": "clear",
"target": "searchInput"
},
{
@@ -309,28 +283,28 @@
{
"id": 12,
"name": "체크박스 선택",
"action": "click_if_exists",
"action": "click_checkbox",
"target": "first_row",
"expected": "첫 번째 행 체크박스 선택됨"
},
{
"id": 13,
"name": "전체 선택 체크박스",
"action": "click_if_exists",
"action": "click_checkbox",
"target": "select_all",
"expected": "모든 행 체크박스 선택됨"
},
{
"id": 14,
"name": "전체 선택 해제",
"action": "click_if_exists",
"action": "click_checkbox",
"target": "select_all",
"expected": "모든 행 체크박스 해제됨"
},
{
"id": 15,
"name": "필수 검증 #1: 엑셀 다운로드",
"action": "click_if_exists",
"action": "click_download",
"target": "엑셀 다운로드",
"checks": [
"버튼 클릭",
@@ -344,7 +318,7 @@
{
"id": 16,
"name": "테이블 행 클릭 - 상세 페이지 이동",
"action": "click_if_exists",
"action": "click_row",
"target": "first_row",
"expected": "거래처원장 상세 페이지로 이동"
},
@@ -372,7 +346,7 @@
{
"id": 19,
"name": "상세 페이지 - 거래처 정보 카드 확인",
"action": "verify_detail",
"action": "verify_vendor_info",
"checks": [
"회사명 표시",
"사업자등록번호 표시",
@@ -389,7 +363,7 @@
{
"id": 20,
"name": "상세 페이지 - 요약 통계 확인",
"action": "verify_detail",
"action": "verify_summary",
"checks": [
"이월잔액 표시",
"매출 표시 (녹색)",
@@ -401,7 +375,7 @@
{
"id": 21,
"name": "상세 페이지 - 판매/수금 내역 테이블 확인",
"action": "verify_detail",
"action": "verify_transaction_table",
"checks": [
"일자 컬럼",
"적요 컬럼",
@@ -415,7 +389,7 @@
{
"id": 22,
"name": "상세 페이지 - 기간 변경",
"action": "click_if_exists",
"action": "change_date_range",
"startDate": "2025-06-01",
"endDate": "2025-06-30",
"expected": "기간 변경 후 거래 내역 재조회"
@@ -423,7 +397,7 @@
{
"id": 23,
"name": "상세 페이지 - 거래 내역 데이터 변화 확인",
"action": "verify_detail",
"action": "verify_transactions_update",
"checks": [
"테이블 데이터 갱신",
"요약 통계 값 갱신"
@@ -467,7 +441,7 @@
"description": "PDF 다운로드 API 응답 대기 설정"
},
{
"type": "click_if_exists",
"type": "click",
"target": "PDF 다운로드",
"description": "PDF 다운로드 버튼 클릭"
},
@@ -485,7 +459,7 @@
}
},
{
"type": "click_if_exists",
"type": "saveDownloadedFile",
"targetPath": "tests/e2e/results/hotfix/pdf-samples/",
"fileNamePattern": "vendor-ledger-{vendorId}-{timestamp}.pdf",
"description": "다운로드된 PDF 파일을 지정 폴더에 보관"
@@ -586,7 +560,7 @@
{
"id": 25,
"name": "상세 페이지 - 작업 버튼 확인 (어음 항목)",
"action": "verify_detail",
"action": "verify_action_buttons",
"checks": [
"어음 관련 항목에 수정 버튼(Pencil 아이콘) 존재",
"일반 항목에는 작업 버튼 없음"
@@ -596,7 +570,7 @@
{
"id": 26,
"name": "상세 페이지 - 목록 버튼 클릭",
"action": "click_if_exists",
"action": "click_button",
"target": "목록",
"expected": "거래처원장 목록 페이지로 복귀"
},
@@ -610,7 +584,7 @@
{
"id": 28,
"name": "페이지네이션 동작 확인",
"action": "verify_detail",
"action": "verify_pagination",
"checks": [
"현재 페이지 표시",
"전체 페이지 수 표시",
@@ -623,24 +597,13 @@
{
"id": 1,
"name": "파일 다운로드 (엑셀/PDF)",
"steps": [
15,
24,
"24-1",
"24-2",
"24-3"
],
"steps": [15, 24, "24-1", "24-2", "24-3"],
"criteria": "Network API 호출 + 실제 파일 다운로드 + 성공 토스트 + PDF 스타일 검증"
},
{
"id": "PDF-STYLE",
"name": "PDF 스타일/CSS 검증",
"steps": [
24,
"24-1",
"24-2",
"24-3"
],
"steps": [24, "24-1", "24-2", "24-3"],
"criteria": "스크린샷 캡처 + PDF 파일 보관 + 수동 체크리스트 확인",
"manualReviewRequired": true,
"outputPaths": {
@@ -657,14 +620,7 @@
{
"id": 3,
"name": "검색/필터",
"steps": [
6,
7,
8,
9,
10,
11
],
"steps": [6, 7, 8, 9, 10, 11],
"criteria": "기간 설정 및 검색 시 데이터 변화 확인"
},
{
@@ -676,9 +632,7 @@
{
"id": 5,
"name": "목업 페이지 감지",
"steps": [
3
],
"steps": [3],
"criteria": "입력 필드, 동작 버튼, API 호출 확인"
}
],