fix: CRUD 시나리오 품질 강화 - DELETE/UPDATE/CREATE 액션 수정 (14파일, 42건)
Phase 1 품질 감사 수정:
- DELETE: verify_element → click + click_dialog_confirm (실제 삭제 실행)
- UPDATE: click_if_exists → fill + value (실제 데이터 수정)
- CREATE: click_if_exists → fill_form (fields 배열 정상 처리)
대상: accounting-*, sales-*, quality-inspection, material-receiving,
hr-vacation, production-work-*, settings-work-schedule
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -126,10 +126,22 @@
|
||||
"name": "[CREATE] 견적 정보 입력",
|
||||
"action": "fill_form",
|
||||
"fields": [
|
||||
{"name": "현장명", "value": "E2E_TEST_현장_{timestamp}"},
|
||||
{"name": "담당자", "value": "E2E 담당자"},
|
||||
{"name": "연락처", "value": "010-1234-5678"},
|
||||
{"name": "비고", "value": "E2E 자동화 테스트 견적"}
|
||||
{
|
||||
"name": "현장명",
|
||||
"value": "E2E_TEST_현장_{timestamp}"
|
||||
},
|
||||
{
|
||||
"name": "담당자",
|
||||
"value": "E2E 담당자"
|
||||
},
|
||||
{
|
||||
"name": "연락처",
|
||||
"value": "010-1234-5678"
|
||||
},
|
||||
{
|
||||
"name": "비고",
|
||||
"value": "E2E 자동화 테스트 견적"
|
||||
}
|
||||
],
|
||||
"note": "combobox(수주처,부가세,제품코드 등)는 fill_form 미지원"
|
||||
},
|
||||
@@ -219,15 +231,17 @@
|
||||
"id": 17,
|
||||
"phase": "UPDATE",
|
||||
"name": "[UPDATE] 수량 수정",
|
||||
"action": "click_if_exists",
|
||||
"target": "input[name*='quantity'], input[placeholder*='수량']"
|
||||
"action": "fill",
|
||||
"target": "input[name*='quantity'], input[placeholder*='수량']",
|
||||
"value": "150"
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"phase": "UPDATE",
|
||||
"name": "[UPDATE] 메모 수정",
|
||||
"action": "click_if_exists",
|
||||
"target": "textarea[name*='memo'], input[placeholder*='메모']"
|
||||
"action": "fill",
|
||||
"target": "textarea[name*='memo'], input[placeholder*='메모']",
|
||||
"value": "E2E 수정된 견적 메모"
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
@@ -267,7 +281,7 @@
|
||||
"id": 22,
|
||||
"phase": "DELETE",
|
||||
"name": "[DELETE] 삭제 버튼 클릭",
|
||||
"action": "verify_element",
|
||||
"action": "click",
|
||||
"target": "button:has-text('삭제')",
|
||||
"expected": {
|
||||
"confirm_dialog": true,
|
||||
@@ -278,8 +292,7 @@
|
||||
"id": 23,
|
||||
"phase": "DELETE",
|
||||
"name": "[DELETE] 필수 검증 #6: 삭제 확인",
|
||||
"action": "verify_element",
|
||||
"target": "button:has-text('삭제'), button:has-text('제거')",
|
||||
"action": "click_dialog_confirm",
|
||||
"verify": {
|
||||
"api_call": "DELETE /api/v1/quotations/",
|
||||
"toast": "삭제|완료|성공",
|
||||
|
||||
Reference in New Issue
Block a user