fix: 회계 관련 E2E 시나리오 셀렉터 수정
- deposit-management: '계정과목명 드롭다운' → '계정과목명', '거래처 드롭다운' → '거래처', '입금 유형 드롭다운' → '입금 유형' - withdrawal-management: 동일 패턴 수정 (계정과목명, 거래처, 출금 유형) - accounting-receivable: :has-text() 셀렉터를 plain text로 변환 (목록, 엑셀, 미수금액, 연체) - accounting-bill: :has-text() 셀렉터를 plain text로 변환 (등록, 저장, 수정, 삭제, 확인), 중복 CSS 셀렉터 단순화 - settings-bank-account: :has-text() 셀렉터를 plain text로 변환 (등록) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -111,7 +111,7 @@
|
||||
"phase": "CREATE",
|
||||
"name": "[CREATE] 어음 등록 버튼 클릭",
|
||||
"action": "click_if_exists",
|
||||
"target": "button:has-text('등록'), button:has-text('어음 등록'), button:has-text('추가')",
|
||||
"target": "등록",
|
||||
"expected": {
|
||||
"modal": true,
|
||||
"modalTitle": "어음 등록"
|
||||
@@ -143,7 +143,7 @@
|
||||
"phase": "CREATE",
|
||||
"name": "[CREATE] 필수 검증 #2: 등록 저장",
|
||||
"action": "click_if_exists",
|
||||
"target": "button:has-text('저장'), button:has-text('등록')",
|
||||
"target": "저장",
|
||||
"verify": {
|
||||
"url_maintained": true,
|
||||
"no_error_page": true,
|
||||
@@ -187,7 +187,7 @@
|
||||
"phase": "READ",
|
||||
"name": "[READ] 어음 상세 페이지 진입",
|
||||
"action": "click_if_exists",
|
||||
"target": "table tbody tr:first-child, table tbody tr:nth-child(1), table tr:nth-child(2)",
|
||||
"target": "table tbody tr:first-child",
|
||||
"expected": {
|
||||
"url_contains": "/accounting/bills/",
|
||||
"visible": [
|
||||
@@ -215,7 +215,7 @@
|
||||
"phase": "UPDATE",
|
||||
"name": "[UPDATE] 수정 모드 진입",
|
||||
"action": "click_if_exists",
|
||||
"target": "button:has-text('수정')",
|
||||
"target": "수정",
|
||||
"expected": {
|
||||
"url_contains": "mode=edit",
|
||||
"fields_editable": true
|
||||
@@ -226,14 +226,14 @@
|
||||
"phase": "UPDATE",
|
||||
"name": "[UPDATE] 메모 수정",
|
||||
"action": "click_if_exists",
|
||||
"target": "textarea[name*='memo'], input[placeholder*='메모']"
|
||||
"target": "textarea[name*='memo']"
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"phase": "UPDATE",
|
||||
"name": "[UPDATE] 필수 검증 #2: 수정 저장",
|
||||
"action": "click_if_exists",
|
||||
"target": "button:has-text('저장')",
|
||||
"target": "저장",
|
||||
"verify": {
|
||||
"url_maintained": true,
|
||||
"no_error_page": true,
|
||||
@@ -266,7 +266,7 @@
|
||||
"phase": "DELETE",
|
||||
"name": "[DELETE] 삭제 버튼 클릭",
|
||||
"action": "click_if_exists",
|
||||
"target": "button:has-text('삭제')",
|
||||
"target": "삭제",
|
||||
"expected": {
|
||||
"confirm_dialog": true,
|
||||
"dialog_message": "삭제|정말"
|
||||
@@ -283,7 +283,7 @@
|
||||
"redirect": "/accounting/bills"
|
||||
},
|
||||
"expected": "삭제 완료 및 목록 복귀",
|
||||
"target": "[role='alertdialog'] button:has-text('확인'), [role='dialog'] button:has-text('확인'), button:has-text('확인')"
|
||||
"target": "확인"
|
||||
},
|
||||
{
|
||||
"id": 23,
|
||||
|
||||
Reference in New Issue
Block a user