{ "id": "comprehensive-analysis", "name": "종합분석 테스트", "screenshotPolicy": { "onErrorOnly": true, "captureOn": ["error", "fail", "timeout", "404", "500", "blocked"] }, "description": "리포트 > 종합분석 페이지의 CEO 대시보드 조회 및 필터링 기능을 테스트하는 E2E 테스트", "baseUrl": "https://dev.codebridge-x.com", "url": "/report/comprehensive", "menuNavigation": { "level1": "리포트", "level2": "종합분석", "expectedUrl": "/report/comprehensive" }, "menuNavigationEnhanced": { "strategy": "scroll-and-search", "sidebar": { "scrollContainer": ".sidebar-scroll", "scrollStep": 200, "maxScrollAttempts": 5, "waitAfterScroll": 300 }, "level1": { "text": "리포트", "expandable": true, "waitAfterClick": 500 }, "level2": { "text": "종합분석", "waitAfterClick": 300 }, "fallbackUrl": "/report/comprehensive", "expectedUrl": "/report/comprehensive" }, "timeout": 90000, "tags": ["report", "dashboard", "read-only"], "login": { "url": "https://dev.codebridge-x.com/login", "credentials": { "id": "TestUser5", "password": "password123!" }, "successIndicator": "대시보드" }, "steps": [ { "id": "step-0", "name": "사이드바 초기화", "description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비", "actions": [ { "type": "evaluate", "script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})" }, { "type": "wait", "duration": 500 } ] }, { "id": "step-1", "name": "리포트 메뉴 진입", "description": "리포트 > 종합분석 메뉴로 이동", "actions": [ { "type": "scrollAndFind", "container": ".sidebar-scroll", "target": "리포트", "scrollStep": 200, "maxAttempts": 5 }, { "type": "click", "target": "리포트" }, { "type": "wait", "duration": 500 }, { "type": "click", "target": "종합분석" } ], "expect": { "url": "/report/comprehensive", "visible": ["CEO 대시보드", "전사 경영 현황"] }, "fallback": { "type": "navigate", "url": "/report/comprehensive" } }, { "id": "step-2", "name": "페이지 구조 확인", "description": "대시보드 위젯 및 버튼 확인", "verify": { "visible": ["CEO 대시보드", "일일보고서", "경영분석"], "widgets": ["견적", "수주", "생산", "검사", "출고예정", "출고완료"] } }, { "id": "step-3", "name": "프로세스 현황 위젯 확인", "description": "전체 업무 프로세스 현황 위젯 확인", "verify": { "visible": ["모든 프로세스 현황", "견적", "수주", "생산", "검사", "출고예정", "출고완료"] } }, { "id": "step-4", "name": "매출 지표 확인", "description": "매출 관련 지표 위젯 확인", "verify": { "visible": ["당일 출하매출", "매출총이익률", "일일 순손익", "일별 매출", "월별 매출", "연간 매출"] } }, { "id": "step-5", "name": "미수금 현황 확인", "description": "미수금 관련 위젯 확인", "verify": { "visible": ["총 미수금", "연체", "거래처별 미수금"] } }, { "id": "step-6", "name": "재고 현황 확인", "description": "재고 관련 위젯 확인", "verify": { "visible": ["재고 총액", "재고 회전율", "재고 부족 품목"] } }, { "id": "step-7", "name": "캘린더 필터 테스트", "description": "캘린더 필터 옵션 동작 확인", "actions": [ { "type": "click", "target": "필터 옵션" }, { "type": "wait", "duration": 300 } ], "expect": { "visible": ["입고", "출고", "자재", "일정", "휴가", "출장"] } }, { "id": "step-8", "name": "필수 검증 #3: 필터 선택 테스트", "description": "캘린더 필터 선택 동작 확인", "actions": [ { "type": "click", "target": "입고" }, { "type": "wait", "duration": 300 } ], "expect": { "filterApplied": true } }, { "id": "step-9", "name": "인력 현황 확인", "description": "출근율 및 결근 현황 위젯 확인", "verify": { "visible": ["일일 출근율", "결근", "지각"] } }, { "id": "step-10", "name": "품질검사 결과 확인", "description": "품질검사 결과 위젯 확인", "verify": { "visible": ["품질검사 결과", "적합률", "부적합률"] } }, { "id": "step-11", "name": "승인 대기 품의서 확인", "description": "승인 대기 중인 품의서 위젯 확인", "verify": { "visible": ["승인 대기 중인 품의서", "구매품의", "투자품의", "인사품의"] } }, { "id": "step-12", "name": "휴가/출장 현황 확인", "description": "휴가 및 출장 현황 위젯 확인", "verify": { "visible": ["휴가/출장 현황", "휴가 현황", "출장 현황", "부서별 현황"] } }, { "id": "step-13", "name": "TOP 5 고객 매출 확인", "description": "TOP 5 고객별 매출 현황 위젯 확인", "verify": { "visible": ["TOP 5 고객별 매출 현황"] } }, { "id": "step-14", "name": "일일보고서 버튼 확인", "description": "일일보고서 버튼 존재 확인", "verify": { "buttonExists": "일일보고서" } }, { "id": "step-15", "name": "경영분석 버튼 확인", "description": "경영분석 버튼 존재 확인", "verify": { "buttonExists": "경영분석" } } ], "assertions": [ { "type": "url", "expected": "/report/comprehensive", "message": "종합분석 페이지에 머물러야 함" }, { "type": "elementExists", "selector": "text=CEO 대시보드", "message": "CEO 대시보드 제목이 표시되어야 함" } ], "mandatoryVerifications": { "description": "E2E_TEST_CONFIG.md 기준 필수 검증 항목", "items": [ { "id": 3, "name": "검색/필터", "trigger": "캘린더 필터", "verification": "필터 적용 확인", "failCondition": "필터 미동작" }, { "id": 5, "name": "목업/미완성 페이지 감지", "trigger": "페이지 로드 시", "verification": "실제 데이터 표시 + 동작하는 위젯 확인", "failCondition": "더미 데이터만 표시, 버튼 미동작" } ] }, "notes": { "testScope": "CEO 대시보드 조회 및 필터링 테스트", "pageType": "조회 전용 대시보드 (실시간 데이터 표시)", "dashboardWidgets": [ "모든 프로세스 현황 (견적, 수주, 생산, 검사, 출고예정, 출고완료)", "스마트 워크플로우 캘린더", "매출 지표 (당일, 월별, 연간)", "미수금 현황", "현금 흐름", "재고 현황", "차량별 가동률", "출근율/결근 현황", "품질검사 결과", "승인 대기 품의서", "휴가/출장 현황", "TOP 5 고객별 매출" ], "filterOptions": ["입고", "출고", "자재", "일정", "휴가", "출장"], "buttons": ["일일보고서", "경영분석"], "prerequisites": "로그인된 사용자" } }