From 96fda0933bd5b55f90dd9136f4c903c2fb938f3b Mon Sep 17 00:00:00 2001 From: kimbokon Date: Sat, 7 Mar 2026 21:57:34 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=9A=8C=EA=B3=84=20=EA=B4=80=EB=A0=A8?= =?UTF-8?q?=20E2E=20=EC=8B=9C=EB=82=98=EB=A6=AC=EC=98=A4=20=EC=85=80?= =?UTF-8?q?=EB=A0=89=ED=84=B0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - deposit-management: '계정과목명 드롭다운' → '계정과목명', '거래처 드롭다운' → '거래처', '입금 유형 드롭다운' → '입금 유형' - withdrawal-management: 동일 패턴 수정 (계정과목명, 거래처, 출금 유형) - accounting-receivable: :has-text() 셀렉터를 plain text로 변환 (목록, 엑셀, 미수금액, 연체) - accounting-bill: :has-text() 셀렉터를 plain text로 변환 (등록, 저장, 수정, 삭제, 확인), 중복 CSS 셀렉터 단순화 - settings-bank-account: :has-text() 셀렉터를 plain text로 변환 (등록) Co-Authored-By: Claude Opus 4.6 --- accounting-bill.json | 16 ++++++++-------- accounting-receivable.json | 10 +++++----- deposit-management.json | 6 +++--- settings-bank-account.json | 2 +- withdrawal-management.json | 6 +++--- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/accounting-bill.json b/accounting-bill.json index 40699fc..ebbedc0 100644 --- a/accounting-bill.json +++ b/accounting-bill.json @@ -111,7 +111,7 @@ "phase": "CREATE", "name": "[CREATE] 어음 등록 버튼 클릭", "action": "click_if_exists", - "target": "button:has-text('등록'), button:has-text('어음 등록'), button:has-text('추가')", + "target": "등록", "expected": { "modal": true, "modalTitle": "어음 등록" @@ -143,7 +143,7 @@ "phase": "CREATE", "name": "[CREATE] 필수 검증 #2: 등록 저장", "action": "click_if_exists", - "target": "button:has-text('저장'), button:has-text('등록')", + "target": "저장", "verify": { "url_maintained": true, "no_error_page": true, @@ -187,7 +187,7 @@ "phase": "READ", "name": "[READ] 어음 상세 페이지 진입", "action": "click_if_exists", - "target": "table tbody tr:first-child, table tbody tr:nth-child(1), table tr:nth-child(2)", + "target": "table tbody tr:first-child", "expected": { "url_contains": "/accounting/bills/", "visible": [ @@ -215,7 +215,7 @@ "phase": "UPDATE", "name": "[UPDATE] 수정 모드 진입", "action": "click_if_exists", - "target": "button:has-text('수정')", + "target": "수정", "expected": { "url_contains": "mode=edit", "fields_editable": true @@ -226,14 +226,14 @@ "phase": "UPDATE", "name": "[UPDATE] 메모 수정", "action": "click_if_exists", - "target": "textarea[name*='memo'], input[placeholder*='메모']" + "target": "textarea[name*='memo']" }, { "id": 18, "phase": "UPDATE", "name": "[UPDATE] 필수 검증 #2: 수정 저장", "action": "click_if_exists", - "target": "button:has-text('저장')", + "target": "저장", "verify": { "url_maintained": true, "no_error_page": true, @@ -266,7 +266,7 @@ "phase": "DELETE", "name": "[DELETE] 삭제 버튼 클릭", "action": "click_if_exists", - "target": "button:has-text('삭제')", + "target": "삭제", "expected": { "confirm_dialog": true, "dialog_message": "삭제|정말" @@ -283,7 +283,7 @@ "redirect": "/accounting/bills" }, "expected": "삭제 완료 및 목록 복귀", - "target": "[role='alertdialog'] button:has-text('확인'), [role='dialog'] button:has-text('확인'), button:has-text('확인')" + "target": "확인" }, { "id": 23, diff --git a/accounting-receivable.json b/accounting-receivable.json index 4863522..cf3d066 100644 --- a/accounting-receivable.json +++ b/accounting-receivable.json @@ -125,7 +125,7 @@ "phase": "SEARCH", "name": "[SEARCH] 거래처 검색", "action": "click_if_exists", - "target": "input[placeholder*='검색'], input[placeholder*='거래처']", + "target": "input[placeholder*='검색']", "value": "테스트", "expected": { "data_filtered": true @@ -174,7 +174,7 @@ "phase": "READ", "name": "[READ] 목록으로 복귀", "action": "click_if_exists", - "target": "button:has-text('목록'), button:has-text('목록으로'), button:has-text('닫기'), button:has-text('뒤로')", + "target": "목록", "expected": { "url_contains": "/accounting/receivables" } @@ -194,7 +194,7 @@ "phase": "EXPORT", "name": "[EXPORT] 필수 검증 #1: 엑셀 다운로드", "action": "click_if_exists", - "target": "button:has-text('엑셀'), button:has-text('다운로드'), button:has-text('내보내기')", + "target": "엑셀", "verify": { "file_download": true, "file_type": "xlsx", @@ -207,7 +207,7 @@ "phase": "SORT", "name": "[SORT] 컬럼 정렬 테스트", "action": "click_if_exists", - "target": "th:has-text('미수금액'), th:has-text('미수금'), th:has-text('금액')", + "target": "미수금액", "expected": { "sort_applied": true, "data_reordered": true @@ -217,7 +217,7 @@ "id": 18, "name": "연체 현황 탭 확인", "action": "click_if_exists", - "target": "button:has-text('연체'), [role='tab']:has-text('연체')", + "target": "연체", "expected": { "tab_active": true, "filtered_data": true diff --git a/deposit-management.json b/deposit-management.json index 2aa5e7d..7349ba6 100644 --- a/deposit-management.json +++ b/deposit-management.json @@ -129,7 +129,7 @@ "name": "계정과목명 드롭다운 옵션 확인", "description": "계정과목명 일괄변경 드롭다운 옵션 검증", "action": "click_if_exists", - "target": "계정과목명 드롭다운", + "target": "계정과목명", "expect": { "options": [ "미설정", @@ -301,7 +301,7 @@ "name": "거래처 드롭다운 옵션 확인", "description": "거래처 선택 드롭다운 옵션 검증", "action": "click_if_exists", - "target": "거래처 드롭다운", + "target": "거래처", "expect": { "options": [ "거래처테스트", @@ -317,7 +317,7 @@ "name": "입금 유형 드롭다운 옵션 확인", "description": "입금 유형 선택 드롭다운 옵션 검증", "action": "click_if_exists", - "target": "입금 유형 드롭다운", + "target": "입금 유형", "expect": { "options": [ "미설정", diff --git a/settings-bank-account.json b/settings-bank-account.json index d1adf23..c5dc833 100644 --- a/settings-bank-account.json +++ b/settings-bank-account.json @@ -132,7 +132,7 @@ "id": 14, "name": "계좌 등록 버튼 확인", "action": "click_if_exists", - "target": "button:has-text('등록'), button:has-text('계좌 등록'), button:has-text('추가')", + "target": "등록", "expected": { "modal_or_page": true } diff --git a/withdrawal-management.json b/withdrawal-management.json index 107811c..8f19de5 100644 --- a/withdrawal-management.json +++ b/withdrawal-management.json @@ -129,7 +129,7 @@ "name": "계정과목명 드롭다운 옵션 확인", "description": "계정과목명 일괄변경 드롭다운 옵션 검증", "action": "click_if_exists", - "target": "계정과목명 드롭다운", + "target": "계정과목명", "expect": { "options": [ "미설정", @@ -317,7 +317,7 @@ "name": "거래처 드롭다운 옵션 확인", "description": "거래처 선택 드롭다운 옵션 검증", "action": "click_if_exists", - "target": "거래처 드롭다운", + "target": "거래처", "expect": { "options": [ "거래처테스트", @@ -334,7 +334,7 @@ "name": "출금 유형 드롭다운 옵션 확인", "description": "출금 유형 선택 드롭다운 옵션 검증", "action": "click_if_exists", - "target": "출금 유형 드롭다운", + "target": "출금 유형", "expect": { "options": [ "미설정",