Files
sam-scenarios/sales-client.json

83 lines
2.1 KiB
JSON
Raw Normal View History

{
"id": "sales-client",
"name": "판매거래처관리 테스트",
"screenshotPolicy": {
"onErrorOnly": true,
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
},
"description": "판매관리 > 거래처관리 메뉴의 판매 거래처 조회/관리 기능 테스트",
"baseUrl": "https://dev.codebridge-x.com",
"menuNavigation": {
"level1": "판매관리",
"level2": "거래처관리",
"expectedUrl": "/sales/client-management"
},
"auth": {
"username": "TestUser5",
"password": "password123!"
},
"steps": [
{
"id": 1,
"name": "메뉴 진입: 판매관리 > 거래처관리",
"action": "menu_navigate",
"level1": "판매관리",
"level2": "거래처관리",
"expected": {
"url_contains": "/sales/client",
"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": "거래처 목록, 등록 버튼 확인"
}
]
}