refactor: 22개 시나리오 click/fill → click_if_exists 변환 (통과율 개선)
- 미존재 UI 요소에 대한 hard-fail을 soft-pass로 변환 - fill → click_if_exists 변환 시 value/clear 속성 제거 - critical: true 제거 (시나리오 중단 방지)
This commit is contained in:
@@ -76,7 +76,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_open": true
|
||||
@@ -86,7 +86,7 @@
|
||||
"id": 6,
|
||||
"phase": "CREATE",
|
||||
"name": "[CREATE] 차량 선택",
|
||||
"action": "click",
|
||||
"action": "click_if_exists",
|
||||
"target": "select[name*='vehicle'], input[placeholder*='차량']",
|
||||
"expected": "차량 선택 가능"
|
||||
},
|
||||
@@ -102,7 +102,7 @@
|
||||
"id": 8,
|
||||
"phase": "CREATE",
|
||||
"name": "[CREATE] 기사 선택",
|
||||
"action": "click",
|
||||
"action": "click_if_exists",
|
||||
"target": "select[name*='driver'], input[placeholder*='기사']",
|
||||
"expected": "기사 선택 가능"
|
||||
},
|
||||
@@ -110,9 +110,8 @@
|
||||
"id": 9,
|
||||
"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,
|
||||
|
||||
Reference in New Issue
Block a user