Files
sam-scenarios/sales-quotation.json

94 lines
2.3 KiB
JSON
Raw Normal View History

{
"id": "sales-quotation",
"name": "견적관리 테스트",
"screenshotPolicy": {
"onErrorOnly": true,
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
},
"description": "판매관리 > 견적관리 메뉴의 견적서 조회/관리 기능 테스트",
"baseUrl": "https://dev.codebridge-x.com",
"menuNavigation": {
"level1": "판매관리",
"level2": "견적관리",
"expectedUrl": "/sales/quotation"
},
"auth": {
"username": "TestUser5",
"password": "password123!"
},
"steps": [
{
"id": 1,
"name": "메뉴 진입: 판매관리 > 견적관리",
"action": "menu_navigate",
"level1": "판매관리",
"level2": "견적관리",
"expected": {
"url_contains": "/sales",
"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": "검색어 삭제"
},
{
"id": 6,
"name": "견적 등록 버튼 확인",
"action": "verify_elements",
"checks": [
"견적 등록 버튼 존재"
],
"expected": "등록 버튼 표시"
}
],
"requiredVerifications": [
{
"id": 3,
"name": "검색/필터",
"steps": [4, 5],
"criteria": "검색 기능 확인"
},
{
"id": 5,
"name": "목업 페이지 감지",
"steps": [2],
"criteria": "견적 목록, 등록 버튼 확인"
}
]
}