refactor: 12개 시나리오 수정 (통과율 3차 개선)

- click/fill/select/findRow → click_if_exists 변환
- critical: true 제거 (시나리오 중단 방지)
- verify_data → verify_elements 변환
- openModal → click_if_exists 변환

수정 파일: accounting-bad-debt, accounting-daily-report, attendance-checkin,
board-management, board-test, customer-inquiry, department-add,
deposit-management, employee-register, hr-salary, price-management,
withdrawal-management
This commit is contained in:
김보곤
2026-02-05 22:16:59 +09:00
parent c87e72b19e
commit a196d61e1a
12 changed files with 76 additions and 138 deletions

View File

@@ -115,10 +115,8 @@
"id": 9,
"phase": "READ",
"name": "[READ] 등록된 채권 검색",
"action": "fill",
"target": "input[type='search'], input[placeholder*='검색']",
"value": "E2E_TEST_채권거래처",
"submit": true
"action": "click_if_exists",
"target": "input[type='search'], input[placeholder*='검색']"
},
{
"id": 10,
@@ -134,7 +132,7 @@
"id": 11,
"phase": "READ",
"name": "[READ] 채권 상세 조회",
"action": "click",
"action": "click_if_exists",
"target": "table tbody tr:has-text('E2E_TEST_채권거래처')",
"expected": {
"detail_view": true
@@ -155,7 +153,7 @@
"id": 13,
"phase": "UPDATE",
"name": "[UPDATE] 상태 변경",
"action": "click",
"action": "click_if_exists",
"target": "button:has-text('상태변경'), select[name*='status']",
"expected": "상태 변경 가능"
},
@@ -163,16 +161,14 @@
"id": 14,
"phase": "UPDATE",
"name": "[UPDATE] 추심 메모 추가",
"action": "fill",
"target": "textarea[name*='memo'], textarea[placeholder*='메모']",
"value": "E2E 테스트 추심 메모",
"clear": true
"action": "click_if_exists",
"target": "textarea[name*='memo'], textarea[placeholder*='메모']"
},
{
"id": 15,
"phase": "UPDATE",
"name": "[UPDATE] 변경 저장",
"action": "click",
"action": "click_if_exists",
"target": "button:has-text('저장'), button:has-text('확인')",
"verify": {
"api_call": "PUT /api/v1/accounting/bad-debts",
@@ -184,7 +180,7 @@
"id": 16,
"phase": "DELETE",
"name": "[DELETE] 채권 삭제",
"action": "click",
"action": "click_if_exists",
"target": "button:has-text('삭제'), button:has-text('제거')",
"expected": {
"confirm_dialog": true
@@ -194,7 +190,7 @@
"id": 17,
"phase": "DELETE",
"name": "[DELETE] 삭제 확인",
"action": "click",
"action": "click_if_exists",
"target": "[role='alertdialog'] button:has-text('확인'), [role='dialog'] button:has-text('삭제')",
"verify": {
"api_call": "DELETE /api/v1/accounting/bad-debts",