refactor: accounting-bill, material-receiving, production-work-order 시나리오 A등급으로 개선

- accounting-bill: C등급→A등급 (3→17 steps, 어음 CRUD)
- material-receiving: C등급→A등급 (3→18 steps, 입고 CRUD)
- production-work-order: C등급→A등급 (3→18 steps, 작업지시 CRUD)
This commit is contained in:
김보곤
2026-02-03 13:25:38 +09:00
parent bb22f6ad05
commit 469a58fa38
3 changed files with 749 additions and 26 deletions

View File

@@ -5,17 +5,31 @@
"onErrorOnly": true,
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
},
"description": "회계관리 > 어음관리 메뉴의 어음 관리 기능 테스트",
"description": "회계관리 > 어음관리 메뉴의 어음 조회/등록/수정/삭제 전체 CRUD 테스트",
"baseUrl": "https://dev.codebridge-x.com",
"menuNavigation": {
"level1": "회계관리",
"level2": "어음관리",
"expectedUrl": "/accounting/bills"
"expectedUrl": "/accounting/bills",
"searchWithinParent": true,
"closeOtherMenus": true
},
"auth": {
"username": "TestUser5",
"password": "password123!"
},
"testData": {
"create": {
"billNumber": "E2E_TEST_어음",
"amount": "1000000",
"dueDate": "2026-03-15",
"issuer": "테스트발행처",
"memo": "E2E 자동화 테스트 어음"
},
"update": {
"memo": "E2E 수정된 어음 메모"
}
},
"steps": [
{
"id": 1,
@@ -24,7 +38,7 @@
"level1": "회계관리",
"level2": "어음관리",
"expected": {
"url_contains": "/accounting",
"url_contains": "/accounting/bills",
"visible": ["어음관리", "어음"]
}
},
@@ -33,28 +47,250 @@
"name": "필수 검증 #5: 목업 페이지 감지",
"action": "verify_not_mockup",
"checks": [
"어음 목록 표시"
"어음 목록 표시",
"어음 등록 버튼 존재",
"검색/필터 기능 존재"
],
"expected": "정상 페이지 (목업 아님)"
},
{
"id": 3,
"name": "어음 목록 확인",
"name": "어음 테이블 구조 확인",
"action": "verify_table",
"checks": [
"어음번호 컬럼",
"금액 컬럼",
"만기일 컬럼"
"만기일 컬럼",
"발행처 컬럼",
"상태 컬럼"
],
"expected": "어음 목록 표시"
"expected": "어음 테이블 컬럼 정상 표시"
},
{
"id": 4,
"name": "검색 기능 테스트",
"action": "search",
"target": "input[placeholder*='검색']",
"value": "테스트",
"expected": {
"data_filtered": true
}
},
{
"id": 5,
"phase": "CREATE",
"name": "[CREATE] 어음 등록 버튼 클릭",
"action": "click",
"target": "button:has-text('등록'), button:has-text('어음 등록'), button:has-text('추가')",
"expected": {
"modal": true,
"modalTitle": "어음 등록"
}
},
{
"id": 6,
"phase": "CREATE",
"name": "[CREATE] 어음 정보 입력",
"action": "fill_form",
"fields": [
{"name": "어음번호", "type": "text", "value": "E2E_TEST_어음_{timestamp}"},
{"name": "금액", "type": "number", "value": "1000000"},
{"name": "만기일", "type": "date", "value": "2026-03-15"},
{"name": "발행처", "type": "text", "value": "테스트발행처"},
{"name": "메모", "type": "text", "value": "E2E 자동화 테스트 어음"}
],
"note": "타임스탬프로 고유성 보장"
},
{
"id": 7,
"phase": "CREATE",
"name": "[CREATE] 필수 검증 #2: 등록 저장",
"action": "click",
"target": "button:has-text('저장'), button:has-text('등록')",
"critical": true,
"verify": {
"url_maintained": true,
"no_error_page": true,
"api_call": "POST /api/v1/bills",
"toast": "등록|완료|성공"
},
"expected": "어음 등록 완료"
},
{
"id": "7-modal-close",
"phase": "CREATE",
"name": "[CREATE] 모달 닫기 확인",
"action": "close_modal_if_open",
"expected": "모달 닫힘"
},
{
"id": 8,
"phase": "CREATE",
"name": "[CREATE] 등록 결과 확인",
"action": "verify_data",
"search": "E2E_TEST_어음",
"expected": {
"row_exists": true,
"contains": ["E2E", "1,000,000"]
}
},
{
"id": 9,
"phase": "READ",
"name": "[READ] 어음 상세 페이지 진입",
"action": "click",
"target": "table tbody tr:has-text('E2E')",
"expected": {
"url_contains": "/accounting/bills/",
"visible": ["어음 상세", "수정", "삭제"]
}
},
{
"id": 10,
"phase": "READ",
"name": "[READ] 상세 정보 확인",
"action": "verify_detail",
"checks": [
"어음번호: E2E_TEST_어음",
"금액: 1,000,000",
"만기일: 2026-03-15",
"발행처: 테스트발행처"
],
"expected": "입력한 데이터와 일치"
},
{
"id": 11,
"phase": "UPDATE",
"name": "[UPDATE] 수정 모드 진입",
"action": "click",
"target": "button:has-text('수정')",
"expected": {
"url_contains": "mode=edit",
"fields_editable": true
}
},
{
"id": 12,
"phase": "UPDATE",
"name": "[UPDATE] 메모 수정",
"action": "fill",
"target": "textarea[name*='memo'], input[placeholder*='메모']",
"value": "E2E 수정된 어음 메모_{timestamp}",
"clear": true
},
{
"id": 13,
"phase": "UPDATE",
"name": "[UPDATE] 필수 검증 #2: 수정 저장",
"action": "click",
"target": "button:has-text('저장')",
"critical": true,
"verify": {
"url_maintained": true,
"no_error_page": true,
"api_call": "PUT /api/v1/bills/",
"toast": "수정|완료|성공"
},
"expected": "수정 완료"
},
{
"id": 14,
"phase": "UPDATE",
"name": "[UPDATE] 수정 결과 확인",
"action": "verify_detail",
"checks": [
"메모: E2E 수정된 어음"
],
"expected": "수정된 데이터 반영"
},
{
"id": 15,
"phase": "DELETE",
"name": "[DELETE] 삭제 버튼 클릭",
"action": "click",
"target": "button:has-text('삭제')",
"expected": {
"confirm_dialog": true,
"dialog_message": "삭제|정말"
}
},
{
"id": 16,
"phase": "DELETE",
"name": "[DELETE] 필수 검증 #6: 삭제 확인",
"action": "click",
"target": "button:has-text('확인'), button:has-text('삭제')",
"critical": true,
"verify": {
"api_call": "DELETE /api/v1/bills/",
"toast": "삭제|완료|성공",
"redirect": "/accounting/bills"
},
"expected": "삭제 완료 및 목록 복귀"
},
{
"id": 17,
"phase": "DELETE",
"name": "[DELETE] 삭제 결과 확인",
"action": "verify_data",
"search": "E2E 수정된 어음",
"expected": {
"row_exists": false,
"message": "테스트 어음이 목록에서 제거됨"
}
}
],
"expectedAPIs": [
{
"method": "GET",
"endpoint": "/api/v1/bills",
"description": "어음 목록 조회"
},
{
"method": "POST",
"endpoint": "/api/v1/bills",
"description": "어음 등록"
},
{
"method": "GET",
"endpoint": "/api/v1/bills/{id}",
"description": "어음 상세 조회"
},
{
"method": "PUT",
"endpoint": "/api/v1/bills/{id}",
"description": "어음 수정"
},
{
"method": "DELETE",
"endpoint": "/api/v1/bills/{id}",
"description": "어음 삭제"
}
],
"requiredVerifications": [
{
"id": 2,
"name": "등록/저장 버튼",
"steps": [7, 13],
"criteria": "API 호출 + 성공 토스트 + 데이터 반영"
},
{
"id": 5,
"name": "목업 페이지 감지",
"steps": [2],
"criteria": "어음 관리 기능 확인"
"criteria": "어음 목록, 등록 버튼, 필터 존재"
},
{
"id": 6,
"name": "삭제 기능",
"steps": [15, 16, 17],
"criteria": "DELETE API + 목록에서 제거"
}
],
"rollbackPlan": {
"onCreateFail": "모달 닫기",
"onUpdateFail": "테스트 어음 수동 삭제 필요",
"onDeleteFail": "테스트 어음 수동 삭제 필요",
"cleanupRequired": "E2E_TEST_ 접두사 어음은 테스트 데이터"
}
]
}

View File

@@ -5,17 +5,31 @@
"onErrorOnly": true,
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
},
"description": "자재관리 > 입고관리 메뉴의 입고 조회/등록 기능 테스트",
"description": "자재관리 > 입고관리 메뉴의 입고 조회/등록/수정/삭제 전체 CRUD 테스트",
"baseUrl": "https://dev.codebridge-x.com",
"menuNavigation": {
"level1": "자재관리",
"level2": "입고관리",
"expectedUrl": "/material/receiving-management"
"expectedUrl": "/material/receiving-management",
"searchWithinParent": true,
"closeOtherMenus": true
},
"auth": {
"username": "TestUser5",
"password": "password123!"
},
"testData": {
"create": {
"itemName": "E2E_TEST_입고품목",
"quantity": "100",
"vendor": "테스트거래처",
"memo": "E2E 자동화 테스트 입고"
},
"update": {
"quantity": "150",
"memo": "E2E 수정된 입고 메모"
}
},
"steps": [
{
"id": 1,
@@ -34,29 +48,257 @@
"action": "verify_not_mockup",
"checks": [
"입고 목록 표시",
"입고 등록 버튼 존재"
"입고 등록 버튼 존재",
"검색/필터 기능 존재"
],
"expected": "정상 페이지 (목업 아님)"
},
{
"id": 3,
"name": "입고 테이블 확인",
"name": "입고 테이블 구조 확인",
"action": "verify_table",
"checks": [
"입고일 컬럼",
"품목 컬럼",
"수량 컬럼",
"거래처 컬럼"
"거래처 컬럼",
"상태 컬럼"
],
"expected": "입고 테이블 표시"
"expected": "입고 테이블 컬럼 정상 표시"
},
{
"id": 4,
"name": "검색 기능 테스트",
"action": "search",
"target": "input[placeholder*='검색']",
"value": "테스트",
"expected": {
"data_filtered": true
}
},
{
"id": 5,
"phase": "CREATE",
"name": "[CREATE] 입고 등록 버튼 클릭",
"action": "click",
"target": "button:has-text('등록'), button:has-text('입고 등록'), button:has-text('추가')",
"expected": {
"modal": true,
"modalTitle": "입고 등록"
}
},
{
"id": 6,
"phase": "CREATE",
"name": "[CREATE] 입고 정보 입력",
"action": "fill_form",
"fields": [
{"name": "입고일", "type": "date", "value": "2026-02-03"},
{"name": "품목", "type": "select", "value": "E2E_TEST_입고품목"},
{"name": "수량", "type": "number", "value": "100"},
{"name": "거래처", "type": "select", "value": "테스트거래처"},
{"name": "메모", "type": "text", "value": "E2E 자동화 테스트 입고_{timestamp}"}
],
"note": "타임스탬프로 고유성 보장"
},
{
"id": 7,
"phase": "CREATE",
"name": "[CREATE] 필수 검증 #2: 등록 저장",
"action": "click",
"target": "button:has-text('저장'), button:has-text('등록')",
"critical": true,
"verify": {
"url_maintained": true,
"no_error_page": true,
"api_call": "POST /api/v1/receivings",
"toast": "등록|완료|성공"
},
"expected": "입고 등록 완료"
},
{
"id": "7-modal-close",
"phase": "CREATE",
"name": "[CREATE] 모달 닫기 확인",
"action": "close_modal_if_open",
"expected": "모달 닫힘"
},
{
"id": 8,
"phase": "CREATE",
"name": "[CREATE] 등록 결과 확인",
"action": "verify_data",
"search": "E2E 자동화 테스트 입고",
"expected": {
"row_exists": true,
"contains": ["E2E", "100"]
}
},
{
"id": 9,
"phase": "READ",
"name": "[READ] 입고 상세 페이지 진입",
"action": "click",
"target": "table tbody tr:has-text('E2E')",
"expected": {
"url_contains": "/material/receiving",
"visible": ["입고 상세", "수정", "삭제"]
}
},
{
"id": 10,
"phase": "READ",
"name": "[READ] 상세 정보 확인",
"action": "verify_detail",
"checks": [
"수량: 100",
"메모: E2E 자동화 테스트"
],
"expected": "입력한 데이터와 일치"
},
{
"id": 11,
"phase": "UPDATE",
"name": "[UPDATE] 수정 모드 진입",
"action": "click",
"target": "button:has-text('수정')",
"expected": {
"url_contains": "mode=edit",
"fields_editable": true
}
},
{
"id": 12,
"phase": "UPDATE",
"name": "[UPDATE] 수량 수정",
"action": "fill",
"target": "input[name*='quantity'], input[placeholder*='수량']",
"value": "150",
"clear": true
},
{
"id": 13,
"phase": "UPDATE",
"name": "[UPDATE] 메모 수정",
"action": "fill",
"target": "textarea[name*='memo'], input[placeholder*='메모']",
"value": "E2E 수정된 입고 메모_{timestamp}",
"clear": true
},
{
"id": 14,
"phase": "UPDATE",
"name": "[UPDATE] 필수 검증 #2: 수정 저장",
"action": "click",
"target": "button:has-text('저장')",
"critical": true,
"verify": {
"url_maintained": true,
"no_error_page": true,
"api_call": "PUT /api/v1/receivings/",
"toast": "수정|완료|성공"
},
"expected": "수정 완료"
},
{
"id": 15,
"phase": "UPDATE",
"name": "[UPDATE] 수정 결과 확인",
"action": "verify_detail",
"checks": [
"수량: 150",
"메모: E2E 수정된 입고"
],
"expected": "수정된 데이터 반영"
},
{
"id": 16,
"phase": "DELETE",
"name": "[DELETE] 삭제 버튼 클릭",
"action": "click",
"target": "button:has-text('삭제')",
"expected": {
"confirm_dialog": true,
"dialog_message": "삭제|정말"
}
},
{
"id": 17,
"phase": "DELETE",
"name": "[DELETE] 필수 검증 #6: 삭제 확인",
"action": "click",
"target": "button:has-text('확인'), button:has-text('삭제')",
"critical": true,
"verify": {
"api_call": "DELETE /api/v1/receivings/",
"toast": "삭제|완료|성공",
"redirect": "/material/receiving"
},
"expected": "삭제 완료 및 목록 복귀"
},
{
"id": 18,
"phase": "DELETE",
"name": "[DELETE] 삭제 결과 확인",
"action": "verify_data",
"search": "E2E 수정된 입고",
"expected": {
"row_exists": false,
"message": "테스트 입고가 목록에서 제거됨"
}
}
],
"expectedAPIs": [
{
"method": "GET",
"endpoint": "/api/v1/receivings",
"description": "입고 목록 조회"
},
{
"method": "POST",
"endpoint": "/api/v1/receivings",
"description": "입고 등록"
},
{
"method": "GET",
"endpoint": "/api/v1/receivings/{id}",
"description": "입고 상세 조회"
},
{
"method": "PUT",
"endpoint": "/api/v1/receivings/{id}",
"description": "입고 수정"
},
{
"method": "DELETE",
"endpoint": "/api/v1/receivings/{id}",
"description": "입고 삭제"
}
],
"requiredVerifications": [
{
"id": 2,
"name": "등록/저장 버튼",
"steps": [7, 14],
"criteria": "API 호출 + 성공 토스트 + 데이터 반영"
},
{
"id": 5,
"name": "목업 페이지 감지",
"steps": [2],
"criteria": "입고 목록 확인"
"criteria": "입고 목록, 등록 버튼, 필터 존재"
},
{
"id": 6,
"name": "삭제 기능",
"steps": [16, 17, 18],
"criteria": "DELETE API + 목록에서 제거"
}
],
"rollbackPlan": {
"onCreateFail": "모달 닫기",
"onUpdateFail": "테스트 입고 수동 삭제 필요",
"onDeleteFail": "테스트 입고 수동 삭제 필요",
"cleanupRequired": "E2E_TEST_ 접두사 입고는 테스트 데이터"
}
]
}

View File

@@ -5,17 +5,32 @@
"onErrorOnly": true,
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
},
"description": "생산관리 > 작업지시 관리 메뉴의 작업지시 기능 테스트",
"description": "생산관리 > 작업지시 관리 메뉴의 작업지시 조회/등록/수정/삭제 전체 CRUD 테스트",
"baseUrl": "https://dev.codebridge-x.com",
"menuNavigation": {
"level1": "생산관리",
"level2": "작업지시 관리",
"expectedUrl": "/production/work-orders"
"expectedUrl": "/production/work-orders",
"searchWithinParent": true,
"closeOtherMenus": true
},
"auth": {
"username": "TestUser5",
"password": "password123!"
},
"testData": {
"create": {
"orderNumber": "E2E_TEST_작업지시",
"itemName": "테스트품목",
"quantity": "500",
"dueDate": "2026-02-10",
"memo": "E2E 자동화 테스트 작업지시"
},
"update": {
"quantity": "600",
"memo": "E2E 수정된 작업지시 메모"
}
},
"steps": [
{
"id": 1,
@@ -24,7 +39,7 @@
"level1": "생산관리",
"level2": "작업지시 관리",
"expected": {
"url_contains": "/production",
"url_contains": "/production/work-orders",
"visible": ["작업지시"]
}
},
@@ -34,28 +49,258 @@
"action": "verify_not_mockup",
"checks": [
"작업지시 목록 표시",
"작업지시 등록 버튼 존재"
"작업지시 등록 버튼 존재",
"검색/필터 기능 존재"
],
"expected": "정상 페이지 (목업 아님)"
},
{
"id": 3,
"name": "작업지시 목록 확인",
"name": "작업지시 테이블 구조 확인",
"action": "verify_table",
"checks": [
"작업지시번호 컬럼",
"품목 컬럼",
"수량 컬럼"
"수량 컬럼",
"납기일 컬럼",
"상태 컬럼"
],
"expected": "작업지시 목록 표시"
"expected": "작업지시 테이블 컬럼 정상 표시"
},
{
"id": 4,
"name": "검색 기능 테스트",
"action": "search",
"target": "input[placeholder*='검색']",
"value": "테스트",
"expected": {
"data_filtered": true
}
},
{
"id": 5,
"phase": "CREATE",
"name": "[CREATE] 작업지시 등록 버튼 클릭",
"action": "click",
"target": "button:has-text('등록'), button:has-text('작업지시 등록'), button:has-text('추가')",
"expected": {
"modal": true,
"modalTitle": "작업지시 등록"
}
},
{
"id": 6,
"phase": "CREATE",
"name": "[CREATE] 작업지시 정보 입력",
"action": "fill_form",
"fields": [
{"name": "작업지시번호", "type": "text", "value": "E2E_TEST_작업지시_{timestamp}"},
{"name": "품목", "type": "select", "value": "테스트품목"},
{"name": "수량", "type": "number", "value": "500"},
{"name": "납기일", "type": "date", "value": "2026-02-10"},
{"name": "메모", "type": "text", "value": "E2E 자동화 테스트 작업지시"}
],
"note": "타임스탬프로 고유성 보장"
},
{
"id": 7,
"phase": "CREATE",
"name": "[CREATE] 필수 검증 #2: 등록 저장",
"action": "click",
"target": "button:has-text('저장'), button:has-text('등록')",
"critical": true,
"verify": {
"url_maintained": true,
"no_error_page": true,
"api_call": "POST /api/v1/work-orders",
"toast": "등록|완료|성공"
},
"expected": "작업지시 등록 완료"
},
{
"id": "7-modal-close",
"phase": "CREATE",
"name": "[CREATE] 모달 닫기 확인",
"action": "close_modal_if_open",
"expected": "모달 닫힘"
},
{
"id": 8,
"phase": "CREATE",
"name": "[CREATE] 등록 결과 확인",
"action": "verify_data",
"search": "E2E_TEST_작업지시",
"expected": {
"row_exists": true,
"contains": ["E2E", "500"]
}
},
{
"id": 9,
"phase": "READ",
"name": "[READ] 작업지시 상세 페이지 진입",
"action": "click",
"target": "table tbody tr:has-text('E2E')",
"expected": {
"url_contains": "/production/work-orders/",
"visible": ["작업지시 상세", "수정", "삭제"]
}
},
{
"id": 10,
"phase": "READ",
"name": "[READ] 상세 정보 확인",
"action": "verify_detail",
"checks": [
"작업지시번호: E2E_TEST_작업지시",
"수량: 500",
"납기일: 2026-02-10"
],
"expected": "입력한 데이터와 일치"
},
{
"id": 11,
"phase": "UPDATE",
"name": "[UPDATE] 수정 모드 진입",
"action": "click",
"target": "button:has-text('수정')",
"expected": {
"url_contains": "mode=edit",
"fields_editable": true
}
},
{
"id": 12,
"phase": "UPDATE",
"name": "[UPDATE] 수량 수정",
"action": "fill",
"target": "input[name*='quantity'], input[placeholder*='수량']",
"value": "600",
"clear": true
},
{
"id": 13,
"phase": "UPDATE",
"name": "[UPDATE] 메모 수정",
"action": "fill",
"target": "textarea[name*='memo'], input[placeholder*='메모']",
"value": "E2E 수정된 작업지시 메모_{timestamp}",
"clear": true
},
{
"id": 14,
"phase": "UPDATE",
"name": "[UPDATE] 필수 검증 #2: 수정 저장",
"action": "click",
"target": "button:has-text('저장')",
"critical": true,
"verify": {
"url_maintained": true,
"no_error_page": true,
"api_call": "PUT /api/v1/work-orders/",
"toast": "수정|완료|성공"
},
"expected": "수정 완료"
},
{
"id": 15,
"phase": "UPDATE",
"name": "[UPDATE] 수정 결과 확인",
"action": "verify_detail",
"checks": [
"수량: 600",
"메모: E2E 수정된 작업지시"
],
"expected": "수정된 데이터 반영"
},
{
"id": 16,
"phase": "DELETE",
"name": "[DELETE] 삭제 버튼 클릭",
"action": "click",
"target": "button:has-text('삭제')",
"expected": {
"confirm_dialog": true,
"dialog_message": "삭제|정말"
}
},
{
"id": 17,
"phase": "DELETE",
"name": "[DELETE] 필수 검증 #6: 삭제 확인",
"action": "click",
"target": "button:has-text('확인'), button:has-text('삭제')",
"critical": true,
"verify": {
"api_call": "DELETE /api/v1/work-orders/",
"toast": "삭제|완료|성공",
"redirect": "/production/work-orders"
},
"expected": "삭제 완료 및 목록 복귀"
},
{
"id": 18,
"phase": "DELETE",
"name": "[DELETE] 삭제 결과 확인",
"action": "verify_data",
"search": "E2E 수정된 작업지시",
"expected": {
"row_exists": false,
"message": "테스트 작업지시가 목록에서 제거됨"
}
}
],
"expectedAPIs": [
{
"method": "GET",
"endpoint": "/api/v1/work-orders",
"description": "작업지시 목록 조회"
},
{
"method": "POST",
"endpoint": "/api/v1/work-orders",
"description": "작업지시 등록"
},
{
"method": "GET",
"endpoint": "/api/v1/work-orders/{id}",
"description": "작업지시 상세 조회"
},
{
"method": "PUT",
"endpoint": "/api/v1/work-orders/{id}",
"description": "작업지시 수정"
},
{
"method": "DELETE",
"endpoint": "/api/v1/work-orders/{id}",
"description": "작업지시 삭제"
}
],
"requiredVerifications": [
{
"id": 2,
"name": "등록/저장 버튼",
"steps": [7, 14],
"criteria": "API 호출 + 성공 토스트 + 데이터 반영"
},
{
"id": 5,
"name": "목업 페이지 감지",
"steps": [2],
"criteria": "작업지시 관리 기능 확인"
"criteria": "작업지시 목록, 등록 버튼, 필터 존재"
},
{
"id": 6,
"name": "삭제 기능",
"steps": [16, 17, 18],
"criteria": "DELETE API + 목록에서 제거"
}
],
"rollbackPlan": {
"onCreateFail": "모달 닫기",
"onUpdateFail": "테스트 작업지시 수동 삭제 필요",
"onDeleteFail": "테스트 작업지시 수동 삭제 필요",
"cleanupRequired": "E2E_TEST_ 접두사 작업지시는 테스트 데이터"
}
]
}