Files
sam-scenarios/standard-unit-price.json
김보곤 cb1bf99c4f feat: 신규 메뉴 20개 E2E 시나리오 추가
- 회계관리: 세금계산서발행, 세금계산서관리, 상품권관리, 일반전표입력, 일일일보
- 구매관리: 거래처관리, 발주관리, 구매현황, 단가관리
- 기준정보 관리: 공정관리, 단가표관리, 단가배포관리, 점검표관리
- 판매관리: 현장관리
- 자재관리: 배차차량관리
- 품질관리: 실적신고관리
- 게시판: 게시판 테스트
- 고객센터: 1:1 문의
- 설정: 바로빌연동관리, 달력관리

총 시나리오: 184 → 204개

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 09:49:41 +09:00

33 lines
2.9 KiB
JSON

{
"id": "standard-unit-price",
"name": "단가표관리 테스트",
"screenshotPolicy": {
"onErrorOnly": true,
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
},
"description": "기준정보 관리 > 단가표관리 메뉴의 단가표 조회/검색/필터 기능 테스트",
"baseUrl": "https://dev.codebridge-x.com",
"menuNavigation": {
"level1": "기준정보 관리",
"level2": "단가표관리",
"expectedUrl": "/standard/unit-price",
"searchWithinParent": true,
"closeOtherMenus": true
},
"auth": { "username": "TestUser5", "password": "password123!" },
"steps": [
{ "id": 1, "name": "메뉴 진입: 기준정보 관리 > 단가표관리", "action": "menu_navigate", "level1": "기준정보 관리", "level2": "단가표관리", "expected": { "url_contains": "/standard", "visible": ["단가"] } },
{ "id": 2, "name": "페이지 로드 대기", "action": "wait", "timeout": 3000 },
{ "id": 3, "name": "필수 검증: 목업 페이지 감지", "action": "verify_not_mockup", "checks": ["목록 또는 폼 표시", "버튼 동작 가능"], "expected": "정상 페이지 (목업 아님)" },
{ "id": 4, "name": "테이블 로드 대기", "action": "wait_for_table", "timeout": 5000 },
{ "id": 5, "name": "단가표 테이블 구조 확인", "action": "verify_table", "checks": ["단가 데이터 컬럼"], "expected": "단가표 테이블 표시" },
{ "id": 6, "phase": "SEARCH", "name": "[SEARCH] 검색 기능", "action": "fill", "target": "input[type='search'], input[placeholder*='검색']", "value": "테스트", "submit": true },
{ "id": 7, "phase": "SEARCH", "name": "[SEARCH] 검색 결과 확인", "action": "verify_detail", "checks": ["검색 결과 표시 또는 결과 없음 메시지"], "expected": "검색 기능 동작" },
{ "id": 8, "phase": "FILTER", "name": "[FILTER] 필터 존재 확인", "action": "evaluate", "script": "(() => { const selects = document.querySelectorAll('select, [role=\"combobox\"], button[class*=\"select\"]'); return selects.length > 0 ? 'Filters: ' + selects.length : 'No filters (ok)'; })()" },
{ "id": 9, "name": "등록/추가 버튼 확인", "action": "evaluate", "script": "(() => { const btn = Array.from(document.querySelectorAll('button')).find(b => ['등록','신규','추가'].some(t => b.innerText?.includes(t))); return btn ? 'Create button: ' + btn.innerText.trim() : 'No create button (ok)'; })()" },
{ "id": 10, "name": "상세 행 클릭", "action": "click_if_exists", "target": "table tbody tr:first-child", "expected": { "detail_view": true } },
{ "id": 11, "name": "상세 정보 확인", "action": "verify_detail", "checks": ["단가 상세 정보 표시 또는 데이터 없음"], "expected": "상세 정보 표시" },
{ "id": 12, "name": "콘솔 에러 확인", "action": "verify_element", "target": "body" }
],
"rollbackPlan": { "note": "조회 위주 테스트로 데이터 변경 최소" }
}