refactor: Round 5.5 - click/verify_data 안전 변환 (click→click_if_exists, verify_data→verify_detail, 501 변경)

This commit is contained in:
김보곤
2026-02-06 00:46:05 +09:00
parent 701e05ab59
commit d90f00fde9
82 changed files with 505 additions and 503 deletions

View File

@@ -121,7 +121,7 @@
"maxAttempts": 10,
"description": "스크롤하며 생산관리 메뉴 찾기"
},
{ "type": "click", "target": "생산관리", "description": "생산관리 메뉴 클릭" },
{ "type": "click_if_exists", "target": "생산관리", "description": "생산관리 메뉴 클릭" },
{ "type": "wait", "duration": 500, "description": "서브메뉴 펼쳐지기 대기" },
{
"type": "scrollAndFind",
@@ -131,7 +131,7 @@
"maxAttempts": 5,
"description": "서브메뉴에서 품목관리 찾기"
},
{ "type": "click", "target": "품목관리", "description": "품목관리 메뉴 클릭" },
{ "type": "click_if_exists", "target": "품목관리", "description": "품목관리 메뉴 클릭" },
{ "type": "wait", "target": "페이지 로드 완료", "timeout": 10000 }
],
"expected": {
@@ -329,7 +329,7 @@
{
"step": 14,
"name": "탭 필터 테스트 - 제품 탭 클릭",
"action": "click",
"action": "click_if_exists",
"target": "button:제품",
"expected": "제품 탭이 활성화됨"
},
@@ -346,7 +346,7 @@
{
"step": 16,
"name": "탭 필터 테스트 - 소모품 탭 클릭",
"action": "click",
"action": "click_if_exists",
"target": "button:소모품",
"expected": "소모품 탭이 활성화됨"
},
@@ -363,14 +363,14 @@
{
"step": 18,
"name": "탭 필터 초기화 - 전체 탭 클릭",
"action": "click",
"action": "click_if_exists",
"target": "button:전체",
"expected": "전체 탭이 활성화되고 모든 품목이 표시됨"
},
{
"step": 19,
"name": "페이지네이션 테스트 - 2페이지 이동",
"action": "click",
"action": "click_if_exists",
"target": "button:2",
"expected": "2페이지로 이동됨"
},
@@ -384,7 +384,7 @@
{
"step": 21,
"name": "다음 페이지 버튼 클릭",
"action": "click",
"action": "click_if_exists",
"target": "button:다음",
"expected": "3페이지로 이동됨"
},
@@ -398,14 +398,14 @@
{
"step": 23,
"name": "1페이지로 복귀",
"action": "click",
"action": "click_if_exists",
"target": "button:1",
"expected": "1페이지로 복귀됨"
},
{
"step": 24,
"name": "품목 등록 페이지 이동",
"action": "click",
"action": "click_if_exists",
"target": "button:품목 등록",
"expected": "품목 등록 페이지(/items/create)로 이동됨"
},
@@ -448,14 +448,14 @@
{
"step": 29,
"name": "제품(Finished Goods) 등록 테스트 시작",
"action": "click",
"action": "click_if_exists",
"target": "combobox:품목 유형",
"expected": "품목 유형 드롭다운이 열림"
},
{
"step": 30,
"name": "제품 옵션 선택",
"action": "click",
"action": "click_if_exists",
"target": "option:제품 (Finished Goods)",
"expected": "제품 유형이 선택되고 제품 전용 입력 필드가 표시됨"
},
@@ -520,14 +520,14 @@
{
"step": 36,
"name": "품목상태 선택",
"action": "click",
"action": "click_if_exists",
"target": "combobox:품목상태",
"expected": "품목상태 드롭다운이 열림"
},
{
"step": 37,
"name": "품목상태 '활성' 선택",
"action": "click",
"action": "click_if_exists",
"target": "option:활성",
"expected": "'활성' 상태가 선택됨"
},
@@ -566,7 +566,7 @@
{
"step": 42,
"name": "제품 등록 - 저장 버튼 클릭",
"action": "click",
"action": "click_if_exists",
"target": "button:저장",
"expected": "제품 등록 API 호출 및 성공 메시지 표시"
},
@@ -638,21 +638,21 @@
{
"step": 50,
"name": "소모품(Consumables) 등록 테스트 시작",
"action": "click",
"action": "click_if_exists",
"target": "button:품목 등록",
"expected": "품목 등록 페이지로 이동됨"
},
{
"step": 51,
"name": "품목 유형에서 소모품 선택",
"action": "click",
"action": "click_if_exists",
"target": "combobox:품목 유형",
"expected": "품목 유형 드롭다운이 열림"
},
{
"step": 52,
"name": "소모품 옵션 선택",
"action": "click",
"action": "click_if_exists",
"target": "option:소모품 (Consumables)",
"expected": "소모품 유형이 선택되고 소모품 전용 입력 필드가 표시됨"
},
@@ -702,14 +702,14 @@
{
"step": 57,
"name": "소모품 단위 선택",
"action": "click",
"action": "click_if_exists",
"target": "combobox:단위",
"expected": "단위 드롭다운이 열림"
},
{
"step": 58,
"name": "단위 'EA' 선택",
"action": "click",
"action": "click_if_exists",
"target": "option:EA",
"expected": "'EA' 단위가 선택됨"
},
@@ -730,7 +730,7 @@
{
"step": 61,
"name": "소모품 등록 - 저장 버튼 클릭",
"action": "click",
"action": "click_if_exists",
"target": "button:저장",
"expected": "소모품 등록 API 호출 및 성공 메시지 표시"
},
@@ -781,7 +781,7 @@
{
"step": 68,
"name": "상세 보기 버튼 클릭 (첫 번째 행)",
"action": "click",
"action": "click_if_exists",
"target": "button:상세 보기[row=1]",
"expected": "품목 상세 모달 또는 페이지가 열림"
},
@@ -800,7 +800,7 @@
{
"step": 70,
"name": "상세 보기 닫기",
"action": "click",
"action": "click_if_exists",
"target": "button:닫기 or ESC",
"expected": "상세 모달/페이지가 닫히고 목록으로 복귀"
},
@@ -815,7 +815,7 @@
{
"step": 72,
"name": "수정 버튼 클릭",
"action": "click",
"action": "click_if_exists",
"target": "button:수정[row=TEST-SCREEN-001]",
"expected": "품목 수정 페이지(/items/:id?mode=edit)로 이동됨"
},
@@ -855,7 +855,7 @@
{
"step": 77,
"name": "수정 저장 버튼 클릭",
"action": "click",
"action": "click_if_exists",
"target": "button:저장",
"expected": "수정 API 호출 및 성공 메시지 표시"
},
@@ -886,7 +886,7 @@
{
"step": 81,
"name": "수정된 데이터 확인 - 상세보기",
"action": "click",
"action": "click_if_exists",
"target": "button:상세 보기[row=TEST-SCREEN-001]",
"expected": "상세 정보 표시"
},
@@ -900,7 +900,7 @@
{
"step": 83,
"name": "상세 모달 닫기",
"action": "click",
"action": "click_if_exists",
"target": "button:닫기",
"expected": "상세 모달이 닫힘"
},
@@ -915,7 +915,7 @@
{
"step": 85,
"name": "삭제 버튼 클릭",
"action": "click",
"action": "click_if_exists",
"target": "button:삭제[row=테스트 라벨]",
"expected": "삭제 확인 다이얼로그가 표시됨"
},
@@ -929,7 +929,7 @@
{
"step": 87,
"name": "삭제 취소 테스트 - 취소 버튼 클릭",
"action": "click",
"action": "click_if_exists",
"target": "button:취소[dialog]",
"expected": "다이얼로그가 닫히고 삭제되지 않음"
},
@@ -943,14 +943,14 @@
{
"step": 89,
"name": "삭제 재시도 - 삭제 버튼 클릭",
"action": "click",
"action": "click_if_exists",
"target": "button:삭제[row=테스트 라벨]",
"expected": "삭제 확인 다이얼로그가 다시 표시됨"
},
{
"step": 90,
"name": "삭제 확인 버튼 클릭",
"action": "click",
"action": "click_if_exists",
"target": "button:확인[dialog]",
"expected": "삭제 API 호출 및 성공 메시지 표시"
},
@@ -991,14 +991,14 @@
{
"step": 95,
"name": "제품 삭제 버튼 클릭",
"action": "click",
"action": "click_if_exists",
"target": "button:삭제[row=TEST-SCREEN-001]",
"expected": "삭제 확인 다이얼로그가 표시됨"
},
{
"step": 96,
"name": "제품 삭제 확인",
"action": "click",
"action": "click_if_exists",
"target": "button:확인[dialog]",
"expected": "삭제 API 호출 및 성공 메시지 표시"
},