{ "id": "customer-notice", "name": "공지사항 테스트", "screenshotPolicy": { "onErrorOnly": true, "captureOn": [ "error", "fail", "timeout", "404", "500", "blocked" ] }, "description": "고객센터 > 공지사항 메뉴의 공지사항 조회/검색/상세보기 기능 테스트", "baseUrl": "https://dev.codebridge-x.com", "menuNavigation": { "level1": "고객센터", "level2": "공지사항", "expectedUrl": "/customer-center/notices", "searchWithinParent": true, "closeOtherMenus": true }, "auth": { "username": "TestUser5", "password": "password123!" }, "steps": [ { "id": 1, "name": "메뉴 진입: 고객센터 > 공지사항", "action": "menu_navigate", "level1": "고객센터", "level2": "공지사항", "expected": { "url_contains": "/customer-center/notices", "visible": [ "공지사항" ] } }, { "id": 2, "name": "URL 검증", "action": "verify_url", "expected": { "url_contains": "/customer-center/notices" } }, { "id": 3, "name": "필수 검증 #5: 목업 페이지 감지", "action": "verify_not_mockup", "checks": [ "공지사항 목록 표시", "검색 기능 존재", "목록 테이블 또는 카드" ], "expected": "정상 페이지 (목업 아님)" }, { "id": 4, "name": "통계 카드 확인", "action": "evaluate", "script": "(() => {\n const cards = document.querySelectorAll('[class*=\"card\"], [class*=\"Card\"], [class*=\"stat\"], [class*=\"Stat\"], [class*=\"summary\"]');\n const texts = Array.from(cards).map(c => c.innerText?.substring(0, 30)).filter(Boolean);\n return texts.length > 0 ? 'Stats: ' + texts.length + ' cards found' : 'No stat cards (ok)';\n })()" }, { "id": 5, "name": "공지사항 목록 구조 확인", "action": "verify_table", "checks": [ "번호 컬럼", "제목 컬럼", "작성자 컬럼", "작성일 컬럼", "조회수 컬럼" ], "expected": "공지사항 목록 표시" }, { "id": 6, "name": "목록 필터 테스트", "action": "evaluate", "script": "(() => {\n const selects = document.querySelectorAll('select, [role=\"combobox\"], button[class*=\"select\"], button[class*=\"Select\"]');\n if (selects.length > 0) {\n return 'Filters found: ' + selects.length;\n }\n return 'No filter dropdowns (ok)';\n })()" }, { "id": 7, "phase": "READ", "name": "[READ] 공지사항 목록 데이터 확인", "action": "verify_detail", "checks": [ "공지사항 데이터 행 존재 또는 '등록된 공지 없음' 메시지" ], "expected": "공지사항 데이터 표시" }, { "id": 8, "phase": "SEARCH", "name": "[SEARCH] 공지사항 검색", "action": "fill", "target": "input[type='search'], input[placeholder*='검색']", "value": "테스트", "submit": true }, { "id": 9, "phase": "SEARCH", "name": "[SEARCH] 검색 결과 확인", "action": "verify_detail", "checks": [ "검색 결과 표시 또는 결과 없음 메시지" ], "expected": "검색 기능 동작" }, { "id": 10, "phase": "SEARCH", "name": "[SEARCH] 검색 초기화", "action": "click_if_exists", "target": "button:has-text('초기화'), button:has-text('전체'), button[class*='clear']", "expected": "검색 초기화" }, { "id": 11, "phase": "READ", "name": "[READ] 공지사항 상세 보기", "action": "click_if_exists", "target": "table tbody tr:first-child, [class*='list'] [class*='item']:first-child", "expected": { "detail_view": true, "url_change": true } }, { "id": 12, "name": "상세 페이지 구조 확인", "action": "verify_elements", "checks": [ "제목 표시", "작성자 표시", "작성일 표시", "내용 표시" ], "expected": "상세 페이지 정상 표시" }, { "id": 13, "name": "첨부파일 확인", "action": "verify_elements", "checks": [ "첨부파일 영역 존재 여부" ], "expected": "첨부파일 영역 확인" }, { "id": 14, "name": "이전/다음 글 네비게이션", "action": "verify_elements", "checks": [ "이전 글 링크 또는 버튼", "다음 글 링크 또는 버튼" ], "expected": "글 네비게이션 표시" }, { "id": 15, "name": "목록으로 돌아가기", "action": "click_if_exists", "target": "button:has-text('목록'), a:has-text('목록'), [class*='back']", "expected": "목록 페이지로 복귀" }, { "id": 16, "name": "페이지네이션 확인", "action": "verify_elements", "checks": [ "페이지 번호 표시", "이전/다음 페이지 버튼" ], "expected": "페이지네이션 표시" }, { "id": 17, "name": "정렬 기능 확인", "action": "verify_elements", "checks": [ "최신순/조회순 정렬 가능" ], "expected": "정렬 기능 표시" }, { "id": 18, "name": "중요 공지 표시 확인", "action": "verify_elements", "checks": [ "중요/고정 공지 상단 표시 여부" ], "expected": "중요 공지 표시 확인" }, { "id": 19, "name": "콘솔 에러 확인", "action": "verify_element", "target": "body" } ], "expectedAPIs": [ { "method": "GET", "endpoint": "/api/v1/customer-center/noticess", "description": "공지사항 목록 조회" }, { "method": "GET", "endpoint": "/api/v1/customer-center/noticess/:id", "description": "공지사항 상세 조회" } ], "requiredVerifications": [ { "id": 3, "name": "검색/필터", "steps": [ 5, 6, 7 ], "criteria": "검색 기능 동작" }, { "id": 5, "name": "목업 페이지 감지", "steps": [ 2 ], "criteria": "공지사항 목록, 검색 기능, 목록 표시 존재" } ], "rollbackPlan": { "note": "조회 전용 페이지로 데이터 변경 없음" } }