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",
|
||||
@@ -25,47 +32,80 @@
|
||||
"action": "menu_navigate",
|
||||
"level1": "생산관리",
|
||||
"level2": "생산 현황판",
|
||||
"expected": { "url_contains": "/production" }
|
||||
"expected": {
|
||||
"url_contains": "/production"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"name": "URL 검증",
|
||||
"action": "verify_url",
|
||||
"expected": {
|
||||
"url_contains": "/production/dashboard"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"name": "목업 감지",
|
||||
"action": "verify_not_mockup"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"name": "생산 현황판 페이지 확인",
|
||||
"action": "verify_detail",
|
||||
"checks": ["visible_text:생산"]
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"name": "현황 데이터 확인",
|
||||
"action": "verify_detail",
|
||||
"checks": ["visible_text:현황"]
|
||||
"name": "테이블 구조 검증",
|
||||
"action": "verify_table"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"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": 6,
|
||||
"name": "생산 현황판 페이지 확인",
|
||||
"action": "verify_detail",
|
||||
"checks": [
|
||||
"visible_text:생산"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"name": "현황 데이터 확인",
|
||||
"action": "verify_detail",
|
||||
"checks": [
|
||||
"visible_text:현황"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"name": "필터 버튼 클릭",
|
||||
"action": "click_if_exists",
|
||||
"target": "button:has-text('필터'), select, [class*='filter'] button, [class*='date-picker']"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"id": 9,
|
||||
"name": "대기",
|
||||
"action": "wait",
|
||||
"duration": 1000
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"id": 10,
|
||||
"name": "모달 닫기",
|
||||
"action": "close_modal_if_open"
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"id": 11,
|
||||
"name": "콘솔 에러 확인",
|
||||
"action": "verify_element",
|
||||
"target": "body"
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"name": "생산 현황판 최종 확인",
|
||||
"action": "verify_detail",
|
||||
"checks": ["visible_text:생산"]
|
||||
"checks": [
|
||||
"visible_text:생산"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user