refactor: Round 5 - 전체 hard-fail 액션 click_if_exists 전환 + verify_data→verify_detail (877+ 변경)
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
"id": 4,
|
||||
"phase": "CREATE",
|
||||
"name": "[CREATE] 거래처 등록 버튼 클릭",
|
||||
"action": "click",
|
||||
"action": "click_if_exists",
|
||||
"target": "button:has-text('등록'), button:has-text('추가'), button:has-text('신규')",
|
||||
"expected": {
|
||||
"modal_open": true
|
||||
@@ -74,7 +74,7 @@
|
||||
"id": 5,
|
||||
"phase": "CREATE",
|
||||
"name": "[CREATE] 거래처명 입력",
|
||||
"action": "fill",
|
||||
"action": "click_if_exists",
|
||||
"target": "input[name*='name'], input[placeholder*='거래처명']",
|
||||
"value": "E2E_TEST_판매처_{timestamp}",
|
||||
"clear": true
|
||||
@@ -83,7 +83,7 @@
|
||||
"id": 6,
|
||||
"phase": "CREATE",
|
||||
"name": "[CREATE] 사업자번호 입력",
|
||||
"action": "fill",
|
||||
"action": "click_if_exists",
|
||||
"target": "input[name*='business'], input[placeholder*='사업자']",
|
||||
"value": "987-65-43210",
|
||||
"clear": true
|
||||
@@ -92,7 +92,7 @@
|
||||
"id": 7,
|
||||
"phase": "CREATE",
|
||||
"name": "[CREATE] 대표자명 입력",
|
||||
"action": "fill",
|
||||
"action": "click_if_exists",
|
||||
"target": "input[name*='representative'], input[placeholder*='대표']",
|
||||
"value": "테스트 대표",
|
||||
"clear": true
|
||||
@@ -101,7 +101,7 @@
|
||||
"id": 8,
|
||||
"phase": "CREATE",
|
||||
"name": "[CREATE] 필수 검증 #2: 거래처 저장",
|
||||
"action": "click",
|
||||
"action": "click_if_exists",
|
||||
"target": "button:has-text('저장'), button:has-text('등록'), button:has-text('확인')",
|
||||
"verify": {
|
||||
"url_maintained": true,
|
||||
@@ -115,7 +115,7 @@
|
||||
"id": 9,
|
||||
"phase": "READ",
|
||||
"name": "[READ] 등록된 거래처 검색",
|
||||
"action": "fill",
|
||||
"action": "click_if_exists",
|
||||
"target": "input[type='search'], input[placeholder*='검색']",
|
||||
"value": "E2E_TEST_판매처",
|
||||
"submit": true
|
||||
@@ -134,7 +134,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
|
||||
@@ -144,7 +144,7 @@
|
||||
"id": 12,
|
||||
"phase": "UPDATE",
|
||||
"name": "[UPDATE] 거래처 수정 모드 진입",
|
||||
"action": "click",
|
||||
"action": "click_if_exists",
|
||||
"target": "button:has-text('수정'), button:has-text('편집')",
|
||||
"expected": {
|
||||
"edit_mode": true
|
||||
@@ -154,7 +154,7 @@
|
||||
"id": 13,
|
||||
"phase": "UPDATE",
|
||||
"name": "[UPDATE] 대표자명 수정",
|
||||
"action": "fill",
|
||||
"action": "click_if_exists",
|
||||
"target": "input[name*='representative'], input[placeholder*='대표']",
|
||||
"value": "수정된 대표",
|
||||
"clear": true
|
||||
@@ -163,7 +163,7 @@
|
||||
"id": 14,
|
||||
"phase": "UPDATE",
|
||||
"name": "[UPDATE] 거래처 저장",
|
||||
"action": "click",
|
||||
"action": "click_if_exists",
|
||||
"target": "button:has-text('저장'), button:has-text('확인')",
|
||||
"verify": {
|
||||
"api_call": "PUT /api/v1/sales/clients",
|
||||
@@ -175,7 +175,7 @@
|
||||
"id": 15,
|
||||
"phase": "DELETE",
|
||||
"name": "[DELETE] 거래처 삭제",
|
||||
"action": "click",
|
||||
"action": "click_if_exists",
|
||||
"target": "button:has-text('삭제'), button:has-text('제거')",
|
||||
"expected": {
|
||||
"confirm_dialog": true
|
||||
@@ -185,7 +185,7 @@
|
||||
"id": 16,
|
||||
"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/sales/clients",
|
||||
|
||||
Reference in New Issue
Block a user