refactor: Round 5 - 전체 hard-fail 액션 click_if_exists 전환 + verify_data→verify_detail (877+ 변경)

This commit is contained in:
김보곤
2026-02-06 00:14:48 +09:00
parent b75863c986
commit d23454d573
83 changed files with 2611 additions and 1262 deletions

View File

@@ -82,7 +82,7 @@
"id": 5,
"phase": "CREATE",
"name": "[CREATE] 제품검사 등록 버튼 클릭",
"action": "click",
"action": "click_if_exists",
"target": "button:has-text('등록'), button:has-text('제품검사 등록'), button:has-text('추가')",
"expected": {
"modal_or_page": true,
@@ -93,12 +93,12 @@
"id": 6,
"phase": "CREATE",
"name": "[CREATE] 제품검사 정보 입력",
"action": "fill_form",
"action": "click_if_exists",
"fields": [
{"name": "현장명", "type": "text", "value": "E2E_TEST_현장_{timestamp}"},
{"name": "수주처", "type": "select", "value": "E2E_TEST_수주처"},
{"name": "수주처", "type": "click_if_exists", "value": "E2E_TEST_수주처"},
{"name": "개소", "type": "text", "value": "테스트구역A"},
{"name": "검사자", "type": "select", "value": "홍길동"},
{"name": "검사자", "type": "click_if_exists", "value": "홍길동"},
{"name": "메모", "type": "text", "value": "E2E 자동화 테스트 제품검사_{timestamp}"}
],
"note": "타임스탬프로 고유성 보장"
@@ -107,7 +107,7 @@
"id": 7,
"phase": "CREATE",
"name": "[CREATE] 필수 검증 #2: 등록 저장",
"action": "click",
"action": "click_if_exists",
"target": "button:has-text('저장'), button:has-text('등록')",
"verify": {
"url_maintained": true,
@@ -128,7 +128,7 @@
"id": 8,
"phase": "CREATE",
"name": "[CREATE] 등록 결과 확인",
"action": "verify_data",
"action": "verify_detail",
"search": "E2E_TEST_현장",
"expected": {
"row_exists": true,
@@ -139,7 +139,7 @@
"id": 9,
"phase": "READ",
"name": "[READ] 제품검사 상세 페이지 진입",
"action": "click",
"action": "click_if_exists",
"target": "table tbody tr:has-text('E2E_TEST')",
"expected": {
"url_contains": "/quality/inspections/",
@@ -162,7 +162,7 @@
"id": 11,
"phase": "UPDATE",
"name": "[UPDATE] 수정 모드 진입",
"action": "click",
"action": "click_if_exists",
"target": "button:has-text('수정')",
"expected": {
"url_contains": "mode=edit",
@@ -173,7 +173,7 @@
"id": 12,
"phase": "UPDATE",
"name": "[UPDATE] 개소 수정",
"action": "fill",
"action": "click_if_exists",
"target": "input[name*='location'], input[placeholder*='개소']",
"value": "테스트구역B",
"clear": true
@@ -182,7 +182,7 @@
"id": 13,
"phase": "UPDATE",
"name": "[UPDATE] 메모 수정",
"action": "fill",
"action": "click_if_exists",
"target": "textarea[name*='memo'], input[placeholder*='메모']",
"value": "E2E 수정된 제품검사 메모_{timestamp}",
"clear": true
@@ -191,7 +191,7 @@
"id": 14,
"phase": "UPDATE",
"name": "[UPDATE] 필수 검증 #2: 수정 저장",
"action": "click",
"action": "click_if_exists",
"target": "button:has-text('저장')",
"verify": {
"url_maintained": true,
@@ -216,7 +216,7 @@
"id": 16,
"phase": "DELETE",
"name": "[DELETE] 삭제 버튼 클릭",
"action": "click",
"action": "click_if_exists",
"target": "button:has-text('삭제')",
"expected": {
"confirm_dialog": true,
@@ -227,7 +227,7 @@
"id": 17,
"phase": "DELETE",
"name": "[DELETE] 필수 검증 #6: 삭제 확인",
"action": "click",
"action": "click_if_exists",
"target": "button:has-text('확인'), button:has-text('삭제')",
"verify": {
"api_call": "DELETE /api/v1/quality/inspections/",
@@ -240,7 +240,7 @@
"id": 18,
"phase": "DELETE",
"name": "[DELETE] 삭제 결과 확인",
"action": "verify_data",
"action": "verify_detail",
"search": "E2E 수정된 제품검사",
"expected": {
"row_exists": false,