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:
@@ -123,9 +123,18 @@
|
||||
"name": "[CREATE] 입고 정보 입력",
|
||||
"action": "fill_form",
|
||||
"fields": [
|
||||
{"name": "제조사", "value": "E2E_TEST_제조사"},
|
||||
{"name": "입고수량", "value": "100"},
|
||||
{"name": "비고", "value": "E2E 자동화 테스트 입고_{timestamp}"}
|
||||
{
|
||||
"name": "제조사",
|
||||
"value": "E2E_TEST_제조사"
|
||||
},
|
||||
{
|
||||
"name": "입고수량",
|
||||
"value": "100"
|
||||
},
|
||||
{
|
||||
"name": "비고",
|
||||
"value": "E2E 자동화 테스트 입고_{timestamp}"
|
||||
}
|
||||
],
|
||||
"note": "자재번호/원자재로트/품목코드는 자동생성 필드, combobox(상태)는 fill_form 미지원"
|
||||
},
|
||||
@@ -214,15 +223,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,
|
||||
@@ -262,7 +273,7 @@
|
||||
"id": 22,
|
||||
"phase": "DELETE",
|
||||
"name": "[DELETE] 삭제 버튼 클릭",
|
||||
"action": "verify_element",
|
||||
"action": "click",
|
||||
"target": "button:has-text('삭제')",
|
||||
"expected": {
|
||||
"confirm_dialog": true,
|
||||
@@ -273,8 +284,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/receivings/",
|
||||
"toast": "삭제|완료|성공",
|
||||
|
||||
Reference in New Issue
Block a user