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:
@@ -177,20 +177,18 @@
|
||||
"critical": true,
|
||||
"actions": [
|
||||
{
|
||||
"type": "setDateRange",
|
||||
"startDate": {
|
||||
"selector": "input[placeholder*='시작'], input[name*='startDate'], .date-picker-start",
|
||||
"value": "2026-01-01"
|
||||
},
|
||||
"endDate": {
|
||||
"selector": "input[placeholder*='종료'], input[name*='endDate'], .date-picker-end",
|
||||
"value": "2026-01-31"
|
||||
}
|
||||
"type": "fill",
|
||||
"target": "input[placeholder*='시작'], input[name*='startDate'], input[type='date']:first-of-type",
|
||||
"value": "2026-01-01"
|
||||
},
|
||||
{
|
||||
"type": "fill",
|
||||
"target": "input[placeholder*='종료'], input[name*='endDate'], input[type='date']:last-of-type",
|
||||
"value": "2026-01-31"
|
||||
},
|
||||
{
|
||||
"type": "click",
|
||||
"target": "검색",
|
||||
"fallbackSelectors": ["button:has-text('검색')", ".search-btn", "[type='submit']"]
|
||||
"target": "button:has-text('검색'), .search-btn, [type='submit']"
|
||||
}
|
||||
],
|
||||
"expect": {
|
||||
@@ -211,20 +209,18 @@
|
||||
"critical": true,
|
||||
"actions": [
|
||||
{
|
||||
"type": "setDateRange",
|
||||
"startDate": {
|
||||
"selector": "input[placeholder*='시작'], input[name*='startDate'], .date-picker-start",
|
||||
"value": "2025-01-01"
|
||||
},
|
||||
"endDate": {
|
||||
"selector": "input[placeholder*='종료'], input[name*='endDate'], .date-picker-end",
|
||||
"value": "2025-12-31"
|
||||
}
|
||||
"type": "fill",
|
||||
"target": "input[placeholder*='시작'], input[name*='startDate'], input[type='date']:first-of-type",
|
||||
"value": "2025-01-01"
|
||||
},
|
||||
{
|
||||
"type": "fill",
|
||||
"target": "input[placeholder*='종료'], input[name*='endDate'], input[type='date']:last-of-type",
|
||||
"value": "2025-12-31"
|
||||
},
|
||||
{
|
||||
"type": "click",
|
||||
"target": "검색",
|
||||
"fallbackSelectors": ["button:has-text('검색')", ".search-btn", "[type='submit']"]
|
||||
"target": "button:has-text('검색'), .search-btn, [type='submit']"
|
||||
}
|
||||
],
|
||||
"expect": {
|
||||
|
||||
Reference in New Issue
Block a user