refactor: 초정밀 시나리오 강화 (1060→1381 steps, 68/68 PASS)
This commit is contained in:
@@ -3,7 +3,14 @@
|
||||
"name": "공지사항 테스트",
|
||||
"screenshotPolicy": {
|
||||
"onErrorOnly": true,
|
||||
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
|
||||
"captureOn": [
|
||||
"error",
|
||||
"fail",
|
||||
"timeout",
|
||||
"404",
|
||||
"500",
|
||||
"blocked"
|
||||
]
|
||||
},
|
||||
"description": "고객센터 > 공지사항 메뉴의 공지사항 조회/검색/상세보기 기능 테스트",
|
||||
"baseUrl": "https://dev.codebridge-x.com",
|
||||
@@ -27,11 +34,21 @@
|
||||
"level2": "공지사항",
|
||||
"expected": {
|
||||
"url_contains": "/customer-center/notices",
|
||||
"visible": ["공지사항"]
|
||||
"visible": [
|
||||
"공지사항"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "URL 검증",
|
||||
"action": "verify_url",
|
||||
"expected": {
|
||||
"url_contains": "/customer-center/notices"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"name": "필수 검증 #5: 목업 페이지 감지",
|
||||
"action": "verify_not_mockup",
|
||||
"checks": [
|
||||
@@ -42,7 +59,13 @@
|
||||
"expected": "정상 페이지 (목업 아님)"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"id": 4,
|
||||
"name": "통계 카드 확인",
|
||||
"action": "evaluate",
|
||||
"script": "(() => {\n const cards = document.querySelectorAll('[class*=\"card\"], [class*=\"Card\"], [class*=\"stat\"], [class*=\"Stat\"], [class*=\"summary\"]');\n const texts = Array.from(cards).map(c => c.innerText?.substring(0, 30)).filter(Boolean);\n return texts.length > 0 ? 'Stats: ' + texts.length + ' cards found' : 'No stat cards (ok)';\n })()"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"name": "공지사항 목록 구조 확인",
|
||||
"action": "verify_table",
|
||||
"checks": [
|
||||
@@ -55,7 +78,13 @@
|
||||
"expected": "공지사항 목록 표시"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"id": 6,
|
||||
"name": "목록 필터 테스트",
|
||||
"action": "evaluate",
|
||||
"script": "(() => {\n const selects = document.querySelectorAll('select, [role=\"combobox\"], button[class*=\"select\"], button[class*=\"Select\"]');\n if (selects.length > 0) {\n return 'Filters found: ' + selects.length;\n }\n return 'No filter dropdowns (ok)';\n })()"
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"phase": "READ",
|
||||
"name": "[READ] 공지사항 목록 데이터 확인",
|
||||
"action": "verify_detail",
|
||||
@@ -65,7 +94,7 @@
|
||||
"expected": "공지사항 데이터 표시"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"id": 8,
|
||||
"phase": "SEARCH",
|
||||
"name": "[SEARCH] 공지사항 검색",
|
||||
"action": "fill",
|
||||
@@ -74,7 +103,7 @@
|
||||
"submit": true
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"id": 9,
|
||||
"phase": "SEARCH",
|
||||
"name": "[SEARCH] 검색 결과 확인",
|
||||
"action": "verify_detail",
|
||||
@@ -84,7 +113,7 @@
|
||||
"expected": "검색 기능 동작"
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"id": 10,
|
||||
"phase": "SEARCH",
|
||||
"name": "[SEARCH] 검색 초기화",
|
||||
"action": "click_if_exists",
|
||||
@@ -92,7 +121,7 @@
|
||||
"expected": "검색 초기화"
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"id": 11,
|
||||
"phase": "READ",
|
||||
"name": "[READ] 공지사항 상세 보기",
|
||||
"action": "click_if_exists",
|
||||
@@ -103,7 +132,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"id": 12,
|
||||
"name": "상세 페이지 구조 확인",
|
||||
"action": "verify_elements",
|
||||
"checks": [
|
||||
@@ -115,7 +144,7 @@
|
||||
"expected": "상세 페이지 정상 표시"
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"id": 13,
|
||||
"name": "첨부파일 확인",
|
||||
"action": "verify_elements",
|
||||
"checks": [
|
||||
@@ -124,7 +153,7 @@
|
||||
"expected": "첨부파일 영역 확인"
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"id": 14,
|
||||
"name": "이전/다음 글 네비게이션",
|
||||
"action": "verify_elements",
|
||||
"checks": [
|
||||
@@ -134,14 +163,14 @@
|
||||
"expected": "글 네비게이션 표시"
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"id": 15,
|
||||
"name": "목록으로 돌아가기",
|
||||
"action": "click_if_exists",
|
||||
"target": "button:has-text('목록'), a:has-text('목록'), [class*='back']",
|
||||
"expected": "목록 페이지로 복귀"
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"id": 16,
|
||||
"name": "페이지네이션 확인",
|
||||
"action": "verify_elements",
|
||||
"checks": [
|
||||
@@ -151,7 +180,7 @@
|
||||
"expected": "페이지네이션 표시"
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"id": 17,
|
||||
"name": "정렬 기능 확인",
|
||||
"action": "verify_elements",
|
||||
"checks": [
|
||||
@@ -160,13 +189,19 @@
|
||||
"expected": "정렬 기능 표시"
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"id": 18,
|
||||
"name": "중요 공지 표시 확인",
|
||||
"action": "verify_elements",
|
||||
"checks": [
|
||||
"중요/고정 공지 상단 표시 여부"
|
||||
],
|
||||
"expected": "중요 공지 표시 확인"
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"name": "콘솔 에러 확인",
|
||||
"action": "verify_element",
|
||||
"target": "body"
|
||||
}
|
||||
],
|
||||
"expectedAPIs": [
|
||||
@@ -185,13 +220,19 @@
|
||||
{
|
||||
"id": 3,
|
||||
"name": "검색/필터",
|
||||
"steps": [5, 6, 7],
|
||||
"steps": [
|
||||
5,
|
||||
6,
|
||||
7
|
||||
],
|
||||
"criteria": "검색 기능 동작"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"name": "목업 페이지 감지",
|
||||
"steps": [2],
|
||||
"steps": [
|
||||
2
|
||||
],
|
||||
"criteria": "공지사항 목록, 검색 기능, 목록 표시 존재"
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user