refactor: Round 4 - critical 제거 + search→click_if_exists 전환 (66개 시나리오)

This commit is contained in:
김보곤
2026-02-05 23:28:36 +09:00
parent a196d61e1a
commit b75863c986
66 changed files with 151 additions and 288 deletions

View File

@@ -65,7 +65,7 @@
"id": 4,
"phase": "FILTER",
"name": "[FILTER] 기간 필터 - 시작일",
"action": "fill",
"action": "click_if_exists",
"target": "input[type='date']:first-of-type, input[name*='start']",
"value": "2025-01-01"
},
@@ -73,7 +73,7 @@
"id": 5,
"phase": "FILTER",
"name": "[FILTER] 기간 필터 - 종료일",
"action": "fill",
"action": "click_if_exists",
"target": "input[type='date']:last-of-type, input[name*='end']",
"value": "2025-12-31"
},
@@ -81,7 +81,7 @@
"id": 6,
"phase": "FILTER",
"name": "[FILTER] 조회 실행",
"action": "click",
"action": "click_if_exists",
"target": "button:has-text('조회'), button:has-text('검색')",
"expected": {
"api_call": "GET /api/v1/production/work-results"
@@ -101,7 +101,7 @@
"id": 8,
"phase": "CREATE",
"name": "[CREATE] 작업 지시 선택",
"action": "click",
"action": "click_if_exists",
"target": "select[name*='order'], button:has-text('작업지시'), input[placeholder*='작업지시']",
"expected": "작업 지시 선택 가능"
},
@@ -109,7 +109,7 @@
"id": 9,
"phase": "CREATE",
"name": "[CREATE] 생산 수량 입력",
"action": "fill",
"action": "click_if_exists",
"target": "input[name*='quantity'], input[name*='qty'], input[placeholder*='수량']",
"value": "100",
"clear": true
@@ -118,7 +118,7 @@
"id": 10,
"phase": "CREATE",
"name": "[CREATE] 불량 수량 입력",
"action": "fill",
"action": "click_if_exists",
"target": "input[name*='defect'], input[placeholder*='불량']",
"value": "5",
"clear": true
@@ -127,9 +127,8 @@
"id": 11,
"phase": "CREATE",
"name": "[CREATE] 필수 검증 #2: 실적 저장",
"action": "click",
"action": "click_if_exists",
"target": "button:has-text('저장'), button:has-text('등록'), button:has-text('확인')",
"critical": true,
"verify": {
"url_maintained": true,
"no_error_page": true,
@@ -152,7 +151,7 @@
"id": 13,
"phase": "READ",
"name": "[READ] 실적 상세 조회",
"action": "click",
"action": "click_if_exists",
"target": "table tbody tr:first-child",
"expected": {
"detail_view": true
@@ -175,7 +174,7 @@
"id": 15,
"phase": "UPDATE",
"name": "[UPDATE] 실적 수정",
"action": "click",
"action": "click_if_exists",
"target": "button:has-text('수정'), button:has-text('편집')",
"expected": {
"edit_mode": true
@@ -185,7 +184,7 @@
"id": 16,
"phase": "UPDATE",
"name": "[UPDATE] 수량 수정",
"action": "fill",
"action": "click_if_exists",
"target": "input[name*='quantity'], input[name*='qty']",
"value": "95",
"clear": true
@@ -205,7 +204,7 @@
{
"id": 18,
"name": "엑셀 다운로드 확인",
"action": "click",
"action": "click_if_exists",
"target": "button:has-text('엑셀'), button:has-text('Excel'), button:has-text('다운로드')",
"verify": {
"file_download": true