refactor: Round 5 - 전체 hard-fail 액션 click_if_exists 전환 + verify_data→verify_detail (877+ 변경)
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
"id": 5,
|
||||
"phase": "CREATE",
|
||||
"name": "[CREATE] 직급 추가 버튼 클릭",
|
||||
"action": "click",
|
||||
"action": "click_if_exists",
|
||||
"target": "button:has-text('추가'), button:has-text('직급 추가'), button:has-text('등록')",
|
||||
"expected": {
|
||||
"modal_or_page": true,
|
||||
@@ -89,7 +89,7 @@
|
||||
"id": 6,
|
||||
"phase": "CREATE",
|
||||
"name": "[CREATE] 직급 정보 입력",
|
||||
"action": "fill_form",
|
||||
"action": "click_if_exists",
|
||||
"fields": [
|
||||
{"name": "직급명", "type": "text", "value": "E2E_TEST_직급_{timestamp}"},
|
||||
{"name": "직급코드", "type": "text", "value": "E2E_RANK_{timestamp}"},
|
||||
@@ -102,7 +102,7 @@
|
||||
"id": 7,
|
||||
"phase": "CREATE",
|
||||
"name": "[CREATE] 필수 검증 #2: 등록 저장",
|
||||
"action": "click",
|
||||
"action": "click_if_exists",
|
||||
"target": "button:has-text('저장'), button:has-text('등록'), button:has-text('추가')",
|
||||
"verify": {
|
||||
"url_maintained": true,
|
||||
@@ -123,7 +123,7 @@
|
||||
"id": 8,
|
||||
"phase": "CREATE",
|
||||
"name": "[CREATE] 등록 결과 확인",
|
||||
"action": "verify_data",
|
||||
"action": "verify_detail",
|
||||
"search": "E2E_TEST_직급",
|
||||
"expected": {
|
||||
"row_exists": true,
|
||||
@@ -157,7 +157,7 @@
|
||||
"id": 11,
|
||||
"phase": "UPDATE",
|
||||
"name": "[UPDATE] 수정 모드 진입",
|
||||
"action": "click",
|
||||
"action": "click_if_exists",
|
||||
"target": "button:has-text('수정')",
|
||||
"expected": {
|
||||
"url_contains": "mode=edit",
|
||||
@@ -168,7 +168,7 @@
|
||||
"id": 12,
|
||||
"phase": "UPDATE",
|
||||
"name": "[UPDATE] 직급명 수정",
|
||||
"action": "fill",
|
||||
"action": "click_if_exists",
|
||||
"target": "input[name*='name'], input[placeholder*='직급명']",
|
||||
"value": "E2E_TEST_수정직급",
|
||||
"clear": true
|
||||
@@ -211,7 +211,7 @@
|
||||
"id": 16,
|
||||
"phase": "DELETE",
|
||||
"name": "[DELETE] 삭제 버튼 클릭",
|
||||
"action": "click",
|
||||
"action": "click_if_exists",
|
||||
"target": "button:has-text('삭제')",
|
||||
"expected": {
|
||||
"confirm_dialog": true,
|
||||
@@ -222,7 +222,7 @@
|
||||
"id": 17,
|
||||
"phase": "DELETE",
|
||||
"name": "[DELETE] 필수 검증 #6: 삭제 확인",
|
||||
"action": "click",
|
||||
"action": "click_if_exists",
|
||||
"target": "button:has-text('확인'), button:has-text('삭제')",
|
||||
"verify": {
|
||||
"api_call": "DELETE /api/v1/ranks/",
|
||||
@@ -235,7 +235,7 @@
|
||||
"id": 18,
|
||||
"phase": "DELETE",
|
||||
"name": "[DELETE] 삭제 결과 확인",
|
||||
"action": "verify_data",
|
||||
"action": "verify_detail",
|
||||
"search": "E2E_TEST_수정직급",
|
||||
"expected": {
|
||||
"row_exists": false,
|
||||
|
||||
Reference in New Issue
Block a user