{ "id": "accounting-tax-mgmt", "name": "세금계산서관리 테스트", "screenshotPolicy": { "onErrorOnly": true, "captureOn": ["error", "fail", "timeout", "404", "500", "blocked"] }, "description": "회계관리 > 세금계산서관리 메뉴의 세금계산서 조회/검색/필터 기능 테스트", "baseUrl": "https://dev.codebridge-x.com", "menuNavigation": { "level1": "회계관리", "level2": "세금계산서관리", "expectedUrl": "/accounting/tax-invoice", "searchWithinParent": true, "closeOtherMenus": true }, "auth": { "username": "TestUser5", "password": "password123!" }, "steps": [ { "id": 1, "name": "메뉴 진입: 회계관리 > 세금계산서관리", "action": "menu_navigate", "level1": "회계관리", "level2": "세금계산서관리", "expected": { "url_contains": "/accounting", "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": "click_if_exists", "target": "input[type='search'], input[placeholder*='검색'], input[type='text']", "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": "click_if_exists", "target": "table tbody tr:first-child", "expected": { "detail_view": true } }, { "id": 10, "name": "상세 정보 확인", "action": "verify_detail", "checks": ["세금계산서 상세 정보 표시 또는 데이터 없음"], "expected": "상세 정보 표시" }, { "id": 11, "name": "엑셀 다운로드 버튼 확인", "action": "evaluate", "script": "(() => { const btn = Array.from(document.querySelectorAll('button')).find(b => ['엑셀','Excel','다운로드'].some(t => b.innerText?.includes(t))); return btn ? 'Excel button: ' + btn.innerText.trim() : 'No excel button (ok)'; })()" }, { "id": 12, "name": "콘솔 에러 확인", "action": "verify_element", "target": "body" } ], "rollbackPlan": { "note": "조회 전용 페이지로 데이터 변경 없음" } }