Files
sam-scenarios/event-board.json
김보곤 b1bfea47b4 fix: 404 오류 시나리오 URL 경로 수정
- faq.json: /support/faq → /customer-center/faq
- event-board.json: /support/events → /customer-center/events
- bill-management.json: /accounting/bill → /accounting/bills

수정 후 모든 페이지 정상 로드 확인됨

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 20:08:04 +09:00

194 lines
5.7 KiB
JSON

{
"id": "event-board",
"name": "이벤트 게시판 테스트",
"screenshotPolicy": {
"onErrorOnly": true,
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
},
"description": "고객센터 > 이벤트 게시판 페이지의 이벤트 목록 조회, 필터링 기능을 테스트하는 E2E 테스트",
"baseUrl": "https://dev.codebridge-x.com",
"url": "/customer-center/events",
"navigation": {
"targetUrl": "/customer-center/events",
"urlPattern": "/customer-center/events|/ko/customer-center/events",
"menuHints": ["이벤트 게시판", "이벤트", "고객센터"]
},
"menuNavigation": {
"level1": "고객센터",
"level2": "이벤트 게시판",
"expectedUrl": "/customer-center/events"
},
"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": "/customer-center/events",
"expectedUrl": "/customer-center/events"
},
"timeout": 90000,
"tags": ["support", "event", "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": 300 },
{
"type": "evaluate",
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
},
{ "type": "wait", "duration": 2000 }
]
},
{
"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": "/customer-center/events",
"visible": ["이벤트"]
},
"fallback": {
"type": "navigate",
"url": "/customer-center/events"
}
},
{
"id": "step-2",
"name": "페이지 구조 확인",
"description": "이벤트 페이지 구조 확인",
"verify": {
"visible": ["이벤트", "진행중인 이벤트", "종료된 이벤트"],
"tableColumns": ["No.", "제목", "작성자", "기간", "조회수"]
}
},
{
"id": "step-3",
"name": "통계 카드 확인",
"description": "진행중/종료된 이벤트 카운트 확인",
"verify": {
"statsCards": ["진행중인 이벤트", "종료된 이벤트"],
"countsDisplayed": true
}
},
{
"id": "step-4",
"name": "필수 검증 #3: 날짜 필터 기능",
"description": "날짜 필터 버튼 동작 확인",
"actions": [
{ "type": "click", "target": "당해년도" },
{ "type": "wait", "duration": 300 }
],
"expect": {
"filterApplied": true
}
},
{
"id": "step-5",
"name": "필수 검증 #3: 정렬 옵션 확인",
"description": "정렬 드롭다운 동작 확인",
"actions": [
{ "type": "click", "target": "최신순", "role": "combobox" }
],
"expect": {
"optionsVisible": true
}
},
{
"id": "step-6",
"name": "필터 초기화",
"description": "초기화 버튼 클릭하여 필터 리셋",
"actions": [
{ "type": "press", "key": "Escape" },
{ "type": "wait", "duration": 300 },
{ "type": "click", "target": "초기화" }
],
"expect": {
"filtersReset": true
}
},
{
"id": "step-7",
"name": "빈 상태 확인",
"description": "데이터가 없을 때 빈 상태 메시지 확인",
"verify": {
"emptyStateVisible": "검색 결과가 없습니다"
}
}
],
"assertions": [
{
"type": "url",
"expected": "/customer-center/events",
"message": "이벤트 게시판 페이지에 머물러야 함"
},
{
"type": "elementExists",
"selector": "text=이벤트",
"message": "이벤트 제목이 표시되어야 함"
}
],
"mandatoryVerifications": {
"description": "E2E_TEST_CONFIG.md 기준 필수 검증 항목",
"items": [
{
"id": 3,
"name": "검색/필터",
"trigger": "날짜 필터, 정렬",
"verification": "데이터 변화 확인",
"failCondition": "필터 적용 후 데이터 무변화"
}
]
},
"notes": {
"testScope": "이벤트 목록 조회 → 필터/정렬 테스트",
"pageType": "조회 전용 (일반 사용자 등록/수정/삭제 불가)",
"statistics": ["진행중인 이벤트", "종료된 이벤트"],
"tableColumns": ["No.", "제목", "작성자", "기간", "조회수"],
"prerequisites": "로그인된 사용자"
}
}