Files
sam-scenarios/sales-pricing.json

83 lines
2.0 KiB
JSON
Raw Normal View History

{
"id": "sales-pricing",
"name": "단가관리 테스트",
"screenshotPolicy": {
"onErrorOnly": true,
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
},
"description": "판매관리 > 단가관리 메뉴의 단가 조회/관리 기능 테스트",
"baseUrl": "https://dev.codebridge-x.com",
"menuNavigation": {
"level1": "판매관리",
"level2": "단가관리",
"expectedUrl": "/sales/pricing-management"
},
"auth": {
"username": "TestUser5",
"password": "password123!"
},
"steps": [
{
"id": 1,
"name": "메뉴 진입: 판매관리 > 단가관리",
"action": "menu_navigate",
"level1": "판매관리",
"level2": "단가관리",
"expected": {
"url_contains": "/sales/pricing",
"visible": ["단가관리", "단가"]
}
},
{
"id": 2,
"name": "필수 검증 #5: 목업 페이지 감지",
"action": "verify_not_mockup",
"checks": [
"단가 목록 표시",
"단가 등록 가능"
],
"expected": "정상 페이지 (목업 아님)"
},
{
"id": 3,
"name": "단가 테이블 확인",
"action": "verify_table",
"checks": [
"품목 컬럼",
"단가 컬럼",
"적용일 컬럼"
],
"expected": "단가 테이블 표시"
},
{
"id": 4,
"name": "검색 기능 테스트",
"action": "fill",
"target": "input[placeholder*='검색']",
"value": "테스트",
"expected": "검색어 입력됨"
},
{
"id": 5,
"name": "검색 초기화",
"action": "clear",
"target": "input[placeholder*='검색']",
"expected": "검색어 삭제"
}
],
"requiredVerifications": [
{
"id": 3,
"name": "검색/필터",
"steps": [4, 5],
"criteria": "검색 기능 확인"
},
{
"id": 5,
"name": "목업 페이지 감지",
"steps": [2],
"criteria": "단가 목록 확인"
}
]
}