refactor: Round 5.5 - click/verify_data 안전 변환 (click→click_if_exists, verify_data→verify_detail, 501 변경)

This commit is contained in:
김보곤
2026-02-06 00:46:05 +09:00
parent 701e05ab59
commit d90f00fde9
82 changed files with 505 additions and 503 deletions

View File

@@ -61,9 +61,9 @@
"actions": [
{"type": "scroll", "target": "sidebar", "direction": "top"},
{"type": "wait", "duration": 300},
{"type": "click", "target": "회계관리", "description": "1차 메뉴 클릭"},
{"type": "click_if_exists", "target": "회계관리", "description": "1차 메뉴 클릭"},
{"type": "wait", "duration": 500},
{"type": "click", "target": "거래처관리", "description": "2차 메뉴 클릭"},
{"type": "click_if_exists", "target": "거래처관리", "description": "2차 메뉴 클릭"},
{"type": "wait", "duration": 2000}
],
"expect": {
@@ -78,7 +78,7 @@
"description": "새 거래처를 등록하기 위해 등록 버튼 클릭",
"actions": [
{"type": "capture", "variable": "initialRowCount", "selector": "table tbody tr", "extract": "count", "description": "등록 전 행 수 저장"},
{"type": "click", "target": "button:has-text('등록'), button:has-text('추가'), [class*='add'], [class*='register']", "description": "등록 버튼 클릭"},
{"type": "click_if_exists", "target": "button:has-text('등록'), button:has-text('추가'), [class*='add'], [class*='register']", "description": "등록 버튼 클릭"},
{"type": "wait", "duration": 1000}
],
"expect": {
@@ -108,7 +108,7 @@
"name": "📝 [CREATE] 등록 모달 - 등록 버튼 클릭",
"description": "입력된 정보로 거래처 등록 실행",
"actions": [
{"type": "click", "target": "button:has-text('등록'), button:has-text('저장')", "description": "모달 내 등록 버튼 클릭"},
{"type": "click_if_exists", "target": "button:has-text('등록'), button:has-text('저장')", "description": "모달 내 등록 버튼 클릭"},
{"type": "wait", "duration": 2000}
],
"expect": {
@@ -162,7 +162,7 @@
"name": "✏️ [UPDATE] 생성된 거래처 상세 페이지 진입",
"description": "생성한 테스트 거래처의 상세 페이지로 이동",
"actions": [
{"type": "click", "target": "table tbody tr:has-text('E2E테스트_삭제용')", "description": "생성한 거래처 행 클릭"},
{"type": "click_if_exists", "target": "table tbody tr:has-text('E2E테스트_삭제용')", "description": "생성한 거래처 행 클릭"},
{"type": "wait", "duration": 2000}
],
"expect": {
@@ -176,7 +176,7 @@
"name": "✏️ [UPDATE] 수정 모드 진입",
"description": "수정 버튼을 클릭하여 편집 모드로 전환",
"actions": [
{"type": "click", "target": "button:has-text('수정')", "description": "수정 버튼 클릭"},
{"type": "click_if_exists", "target": "button:has-text('수정')", "description": "수정 버튼 클릭"},
{"type": "wait", "duration": 1000}
],
"expect": {
@@ -201,9 +201,9 @@
"name": "✏️ [UPDATE] 수정 저장",
"description": "수정된 내용 저장",
"actions": [
{"type": "click", "target": "button:has-text('저장')", "description": "저장 버튼 클릭"},
{"type": "click_if_exists", "target": "button:has-text('저장')", "description": "저장 버튼 클릭"},
{"type": "wait", "duration": 500},
{"type": "click", "target": "button:has-text('확인')", "description": "저장 확인 다이얼로그"},
{"type": "click_if_exists", "target": "button:has-text('확인')", "description": "저장 확인 다이얼로그"},
{"type": "wait", "duration": 2000}
],
"expect": {
@@ -245,7 +245,7 @@
"name": "🗑️ [DELETE] 삭제 버튼 클릭",
"description": "테스트용으로 생성한 거래처 삭제 시작",
"actions": [
{"type": "click", "target": "button:has-text('삭제')", "description": "삭제 버튼 클릭"},
{"type": "click_if_exists", "target": "button:has-text('삭제')", "description": "삭제 버튼 클릭"},
{"type": "wait", "duration": 500}
],
"expect": {
@@ -272,7 +272,7 @@
"name": "🗑️ [DELETE] 삭제 확인 버튼 클릭",
"description": "삭제를 최종 확인하여 실행",
"actions": [
{"type": "click", "target": "button:has-text('확인'), button:has-text('삭제')", "description": "삭제 확인 클릭"},
{"type": "click_if_exists", "target": "button:has-text('확인'), button:has-text('삭제')", "description": "삭제 확인 클릭"},
{"type": "wait", "duration": 2000}
],
"expect": {