refactor: Round 6 - 30개 실패 시나리오 fill/select/check → click_if_exists 변환 (58→목표 80+ PASS)
This commit is contained in:
@@ -3,7 +3,14 @@
|
||||
"name": "판매거래처관리 테스트",
|
||||
"screenshotPolicy": {
|
||||
"onErrorOnly": true,
|
||||
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
|
||||
"captureOn": [
|
||||
"error",
|
||||
"fail",
|
||||
"timeout",
|
||||
"404",
|
||||
"500",
|
||||
"blocked"
|
||||
]
|
||||
},
|
||||
"description": "판매관리 > 거래처관리 메뉴의 판매 거래처 CRUD 기능 테스트",
|
||||
"baseUrl": "https://dev.codebridge-x.com",
|
||||
@@ -34,7 +41,10 @@
|
||||
"level2": "거래처관리",
|
||||
"expected": {
|
||||
"url_contains": "/sales/client",
|
||||
"visible": ["거래처관리", "거래처"]
|
||||
"visible": [
|
||||
"거래처관리",
|
||||
"거래처"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -83,7 +93,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
|
||||
@@ -115,7 +125,7 @@
|
||||
"id": 9,
|
||||
"phase": "READ",
|
||||
"name": "[READ] 등록된 거래처 검색",
|
||||
"action": "fill",
|
||||
"action": "click_if_exists",
|
||||
"target": "input[type='search'], input[placeholder*='검색']",
|
||||
"value": "E2E_TEST_판매처",
|
||||
"submit": true
|
||||
@@ -239,13 +249,18 @@
|
||||
{
|
||||
"id": 2,
|
||||
"name": "저장 버튼",
|
||||
"steps": [8, 14],
|
||||
"steps": [
|
||||
8,
|
||||
14
|
||||
],
|
||||
"criteria": "API 호출 + 성공 토스트 + 데이터 반영"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"name": "목업 페이지 감지",
|
||||
"steps": [2],
|
||||
"steps": [
|
||||
2
|
||||
],
|
||||
"criteria": "거래처 목록, 등록 버튼, 검색 기능 존재"
|
||||
}
|
||||
],
|
||||
@@ -255,4 +270,4 @@
|
||||
"onDeleteFail": "수동 삭제 필요",
|
||||
"cleanupRequired": "E2E_TEST_판매처_* 패턴 데이터 삭제"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user