fix: 시나리오 URL 및 메뉴 존재 여부 수정
- announcement-board.json 삭제 (공지사항 메뉴 미존재) - bank-account-management.json URL 수정: /settings/bank-account → /settings/accounts - company-info.json URL 수정: /settings/company → /company-info Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -48,14 +48,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,186 +0,0 @@
|
||||
{
|
||||
"id": "announcement-board",
|
||||
"name": "공지사항 테스트",
|
||||
"screenshotPolicy": {
|
||||
"onErrorOnly": true,
|
||||
"captureOn": ["error", "fail", "timeout", "404", "500", "blocked"]
|
||||
},
|
||||
"description": "고객센터 > 공지사항 페이지의 목록 조회, 상세 보기, 검색/필터 기능을 테스트하는 E2E 테스트",
|
||||
"baseUrl": "https://dev.codebridge-x.com",
|
||||
"url": "/support/announcements",
|
||||
"menuNavigation": {
|
||||
"level1": "고객센터",
|
||||
"level2": "공지사항",
|
||||
"expectedUrl": "/support/announcements"
|
||||
},
|
||||
"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": "/support/announcements",
|
||||
"expectedUrl": "/support/announcements"
|
||||
},
|
||||
"timeout": 90000,
|
||||
"tags": ["support", "announcement", "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": "/support/announcements",
|
||||
"visible": ["공지사항"]
|
||||
},
|
||||
"fallback": {
|
||||
"type": "navigate",
|
||||
"url": "/support/announcements"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "step-2",
|
||||
"name": "페이지 구조 확인",
|
||||
"description": "공지사항 목록 페이지 구조 확인",
|
||||
"verify": {
|
||||
"visible": ["공지사항", "최신순"],
|
||||
"tableColumns": ["No.", "제목", "작성자", "등록일", "조회수"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "step-3",
|
||||
"name": "날짜 필터 확인",
|
||||
"description": "날짜 필터 버튼 동작 확인",
|
||||
"actions": [
|
||||
{ "type": "click", "target": "당월" },
|
||||
{ "type": "wait", "duration": 300 }
|
||||
],
|
||||
"expect": {
|
||||
"filterApplied": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "step-4",
|
||||
"name": "정렬 옵션 확인",
|
||||
"description": "정렬 드롭다운 옵션 확인",
|
||||
"actions": [
|
||||
{ "type": "click", "target": "최신순", "role": "combobox" }
|
||||
],
|
||||
"expect": {
|
||||
"optionsVisible": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "step-5",
|
||||
"name": "공지사항 상세 보기",
|
||||
"description": "공지사항 항목 클릭하여 상세 페이지 이동",
|
||||
"actions": [
|
||||
{ "type": "press", "key": "Escape" },
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('tbody tr')?.click()"
|
||||
}
|
||||
],
|
||||
"expect": {
|
||||
"pageChange": "/support/announcements/",
|
||||
"visible": ["공지사항 상세", "목록으로"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "step-6",
|
||||
"name": "상세 페이지 구조 확인",
|
||||
"description": "상세 페이지 정보 표시 확인",
|
||||
"verify": {
|
||||
"visible": ["제목", "작성자", "등록일", "조회수", "내용"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "step-7",
|
||||
"name": "목록으로 돌아가기",
|
||||
"description": "목록으로 버튼 클릭하여 목록 페이지로 복귀",
|
||||
"actions": [
|
||||
{ "type": "click", "target": "목록으로" }
|
||||
],
|
||||
"expect": {
|
||||
"url": "/support/announcements",
|
||||
"visible": ["공지사항"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "step-8",
|
||||
"name": "페이지네이션 확인",
|
||||
"description": "페이지네이션 동작 확인",
|
||||
"verify": {
|
||||
"paginationExists": true,
|
||||
"showsTotalItems": true
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
"assertions": [
|
||||
{
|
||||
"type": "url",
|
||||
"expected": "/support/announcements",
|
||||
"message": "공지사항 페이지에 머물러야 함"
|
||||
},
|
||||
{
|
||||
"type": "elementExists",
|
||||
"selector": "text=공지사항",
|
||||
"message": "공지사항 제목이 표시되어야 함"
|
||||
}
|
||||
],
|
||||
|
||||
"notes": {
|
||||
"testScope": "공지사항 목록 조회 → 상세 보기 → 필터/정렬 테스트",
|
||||
"pageType": "조회 전용 (일반 사용자 등록/수정/삭제 불가)",
|
||||
"tableColumns": ["No.", "제목", "작성자", "등록일", "조회수"],
|
||||
"detailFields": ["제목", "작성자", "등록일", "조회수", "이미지", "내용"],
|
||||
"prerequisites": "로그인된 사용자"
|
||||
}
|
||||
}
|
||||
@@ -33,16 +33,17 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": 0,
|
||||
"name": "사이드바 메뉴 탐색 준비",
|
||||
"description": "사이드바를 최상단으로 스크롤하고 메뉴 구조 파악",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{ "type": "scroll", "target": "sidebar", "direction": "top", "description": "사이드바 최상단으로 스크롤" },
|
||||
{ "type": "wait", "duration": 500 },
|
||||
{ "type": "screenshot", "name": "sidebar_initial_state" }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{ "type": "evaluate", "script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()" },
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"verification": [
|
||||
"사이드바가 화면에 보이는지 확인",
|
||||
"메뉴 항목들이 렌더링되었는지 확인"
|
||||
"모든 메뉴가 펼쳐졌는지 확인"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -110,8 +110,8 @@
|
||||
},
|
||||
{
|
||||
"id": "step-0-1",
|
||||
"name": "🗺️ 위치 권한 팝업 처리 (UI)",
|
||||
"description": "브라우저 상단에 나타나는 위치 권한 요청 팝업에서 '항상 허용' 클릭",
|
||||
"name": "🗺️ 위치 권한 팝업 처리 및 사이드바 메뉴 전체 펼치기",
|
||||
"description": "위치 권한 요청 팝업 처리 후 모두 펼치기 버튼을 클릭하여 전체 메뉴 펼침",
|
||||
"critical": true,
|
||||
"actions": [
|
||||
{ "type": "wait", "duration": 1000, "description": "페이지 로드 및 권한 팝업 표시 대기" },
|
||||
@@ -134,7 +134,17 @@
|
||||
}
|
||||
},
|
||||
{ "type": "wait", "duration": 500, "description": "권한 설정 적용 대기" },
|
||||
{ "type": "screenshot", "name": "after_permission_grant" }
|
||||
{
|
||||
"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 },
|
||||
{ "type": "screenshot", "name": "after_permission_grant_and_menu_expanded" }
|
||||
],
|
||||
"verification": [
|
||||
"위치 권한 팝업이 닫혔는지 확인",
|
||||
|
||||
@@ -76,15 +76,21 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 준비",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll, [data-sidebar-scroll], nav[role=\"navigation\"]')?.scrollTo({top: 0, behavior: 'instant'})",
|
||||
"description": "사이드바 최상단으로 스크롤"
|
||||
},
|
||||
{ "type": "wait", "duration": 500, "description": "스크롤 완료 대기" }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()",
|
||||
"description": "모두 펼치기 버튼 클릭"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000, "description": "메뉴 펼침 완료 대기" }
|
||||
],
|
||||
"expect": {
|
||||
"sidebarReady": true
|
||||
|
||||
@@ -55,11 +55,13 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": 0,
|
||||
"name": "사이드바 준비",
|
||||
"description": "메뉴 탐색 전 사이드바 스크롤을 최상단으로 초기화",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{ "type": "evaluate", "script": "document.querySelector('.sidebar-scroll, [data-testid=\"sidebar\"], nav[role=\"navigation\"]')?.scrollTo({top:0,behavior:'instant'})" },
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{ "type": "evaluate", "script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()" },
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expected": {
|
||||
"sidebarReady": true
|
||||
|
||||
@@ -108,14 +108,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "메뉴 탐색 전 사이드바를 최상단으로 스크롤하여 초기화",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll, [class*=\"sidebar\"] > div')?.scrollTo({top: 0, behavior: 'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expected": {
|
||||
"sidebarReady": true
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
},
|
||||
"description": "설정 > 계좌관리 페이지의 계좌 등록/조회/수정/삭제 기능을 테스트하는 E2E 테스트",
|
||||
"baseUrl": "https://dev.codebridge-x.com",
|
||||
"url": "/settings/bank-account",
|
||||
"url": "/settings/accounts",
|
||||
"menuNavigation": {
|
||||
"level1": "설정",
|
||||
"level2": "계좌관리",
|
||||
"expectedUrl": "/settings/bank-account"
|
||||
"expectedUrl": "/settings/accounts"
|
||||
},
|
||||
"menuNavigationEnhanced": {
|
||||
"strategy": "scroll-and-search",
|
||||
@@ -30,8 +30,8 @@
|
||||
"text": "계좌관리",
|
||||
"waitAfterClick": 300
|
||||
},
|
||||
"fallbackUrl": "/settings/bank-account",
|
||||
"expectedUrl": "/settings/bank-account"
|
||||
"fallbackUrl": "/settings/accounts",
|
||||
"expectedUrl": "/settings/accounts"
|
||||
},
|
||||
"timeout": 90000,
|
||||
"tags": ["settings", "bank-account", "crud"],
|
||||
@@ -58,14 +58,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -85,12 +90,12 @@
|
||||
{ "type": "click", "target": "계좌관리" }
|
||||
],
|
||||
"expect": {
|
||||
"url": "/settings/bank-account",
|
||||
"url": "/settings/accounts",
|
||||
"visible": ["계좌관리", "계좌 등록"]
|
||||
},
|
||||
"fallback": {
|
||||
"type": "navigate",
|
||||
"url": "/settings/bank-account"
|
||||
"url": "/settings/accounts"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -173,7 +178,7 @@
|
||||
"modalClosed": true
|
||||
},
|
||||
"verify": {
|
||||
"apiCall": "POST /api/settings/bank-account"
|
||||
"apiCall": "POST /api/settings/accounts"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -291,7 +296,7 @@
|
||||
"assertions": [
|
||||
{
|
||||
"type": "url",
|
||||
"expected": "/settings/bank-account",
|
||||
"expected": "/settings/accounts",
|
||||
"message": "계좌관리 페이지에 머물러야 함"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -63,18 +63,24 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 준비",
|
||||
"description": "사이드바 스크롤을 최상단으로 이동하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll, [class*=\"sidebar\"] > div, nav[class*=\"menu\"]')?.scrollTo({top: 0, behavior: 'instant'})",
|
||||
"description": "사이드바 스크롤 최상단 이동"
|
||||
},
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()",
|
||||
"description": "모두 펼치기 버튼 클릭"
|
||||
},
|
||||
{
|
||||
"type": "wait",
|
||||
"duration": 500,
|
||||
"description": "스크롤 안정화 대기"
|
||||
"duration": 2000,
|
||||
"description": "메뉴 펼침 완료 대기"
|
||||
}
|
||||
],
|
||||
"expect": {
|
||||
|
||||
@@ -59,14 +59,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -61,16 +61,21 @@
|
||||
"steps": [
|
||||
{
|
||||
"step": 0,
|
||||
"name": "사이드바 초기화",
|
||||
"description": "메뉴 탐색 전 사이드바를 최상단으로 스크롤하여 초기화",
|
||||
"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": 500
|
||||
"duration": 2000
|
||||
}
|
||||
],
|
||||
"expected": {
|
||||
|
||||
@@ -30,14 +30,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"step": 0,
|
||||
"name": "사이드바 준비",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll, [data-sidebar], nav')?.scrollTo({top: 0, behavior: 'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expected": {
|
||||
"sidebarReady": true
|
||||
|
||||
@@ -89,14 +89,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 준비",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -58,14 +58,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 준비",
|
||||
"description": "메뉴 탐색 전 사이드바를 최상단으로 스크롤하여 초기화",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll, [class*=\"sidebar\"], nav[role=\"navigation\"]')?.scrollTo({top: 0, behavior: 'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expected": {
|
||||
"sidebarScrollTop": 0,
|
||||
|
||||
@@ -16,11 +16,10 @@
|
||||
"alternativeLevel1Names": ["설정", "Settings", "환경설정", "시스템설정", "관리"],
|
||||
"alternativeLevel2Names": ["회사정보", "회사 정보", "Company Info", "회사관리", "기업정보"],
|
||||
"fallbackUrls": [
|
||||
"/ko/settings/company-info",
|
||||
"/ko/settings/company",
|
||||
"/ko/admin/company-info",
|
||||
"/company-info",
|
||||
"/ko/company-info",
|
||||
"/settings/company-info",
|
||||
"/ko/management/company"
|
||||
"/ko/settings/company-info"
|
||||
],
|
||||
"scrollConfig": {
|
||||
"sidebarSelector": "nav, aside, [role='navigation'], .sidebar, #sidebar",
|
||||
@@ -52,16 +51,17 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": 0,
|
||||
"name": "사이드바 메뉴 탐색 준비",
|
||||
"description": "사이드바를 최상단으로 스크롤하고 메뉴 구조 파악",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{ "type": "scroll", "target": "sidebar", "direction": "top", "description": "사이드바 최상단으로 스크롤" },
|
||||
{ "type": "wait", "duration": 500 },
|
||||
{ "type": "screenshot", "name": "sidebar_initial_state" }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{ "type": "evaluate", "script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()" },
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"verification": [
|
||||
"사이드바가 화면에 보이는지 확인",
|
||||
"메뉴 항목들이 렌더링되었는지 확인"
|
||||
"모든 메뉴가 펼쳐졌는지 확인"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -139,9 +139,8 @@
|
||||
{
|
||||
"type": "tryAlternativeUrls",
|
||||
"urls": [
|
||||
"/ko/settings/company-info",
|
||||
"/ko/settings/company",
|
||||
"/ko/admin/company-info"
|
||||
"/company-info",
|
||||
"/ko/company-info"
|
||||
],
|
||||
"stopOnSuccess": true
|
||||
},
|
||||
@@ -167,7 +166,7 @@
|
||||
"콘텐츠가 정상 렌더링됨"
|
||||
],
|
||||
"successCriteria": {
|
||||
"urlPattern": "/settings/company",
|
||||
"urlPattern": "/company-info",
|
||||
"requiredElements": ["회사", "회사명", "대표자명"]
|
||||
}
|
||||
},
|
||||
|
||||
@@ -48,14 +48,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -70,21 +70,26 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 준비",
|
||||
"description": "메뉴 탐색 전 사이드바를 초기 상태로 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll, [data-sidebar-content], nav[role=\"navigation\"]')?.scrollTo({top: 0, behavior: 'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expected": {
|
||||
"sidebarReady": true
|
||||
},
|
||||
"verification": [
|
||||
"사이드바가 최상단으로 스크롤됨",
|
||||
"메뉴 탐색 준비 완료"
|
||||
"모든 메뉴가 펼쳐짐"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -68,11 +68,13 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 메뉴 탐색 준비",
|
||||
"description": "사이드바를 최상단으로 스크롤하고 메뉴 구조 파악",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{ "type": "scroll", "target": "sidebar", "direction": "top", "description": "사이드바 최상단으로 스크롤" },
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{ "type": "evaluate", "script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()" },
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -78,14 +78,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바 스크롤을 최상단으로 초기화하고 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll, [data-sidebar], nav, aside')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expect": {
|
||||
"sidebarReady": true
|
||||
|
||||
@@ -43,11 +43,13 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 메뉴 탐색 준비",
|
||||
"description": "사이드바를 최상단으로 스크롤하고 메뉴 구조 파악",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{ "type": "scroll", "target": "sidebar", "direction": "top", "description": "사이드바 최상단으로 스크롤" },
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{ "type": "evaluate", "script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()" },
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -72,11 +72,13 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 메뉴 탐색 준비",
|
||||
"description": "사이드바를 최상단으로 스크롤하고 메뉴 구조 파악",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{ "type": "scroll", "target": "sidebar", "direction": "top", "description": "사이드바 최상단으로 스크롤" },
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{ "type": "evaluate", "script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()" },
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -43,18 +43,24 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "메뉴 탐색 전 사이드바 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll, [class*=\"sidebar\"], nav')?.scrollTo({top: 0, behavior: 'instant'})",
|
||||
"description": "사이드바 스크롤 최상단으로 이동"
|
||||
},
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()",
|
||||
"description": "모두 펼치기 버튼 클릭"
|
||||
},
|
||||
{
|
||||
"type": "wait",
|
||||
"duration": 500,
|
||||
"description": "스크롤 안정화 대기"
|
||||
"duration": 2000,
|
||||
"description": "메뉴 펼침 완료 대기"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -48,14 +48,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -76,14 +76,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll, [data-sidebar], nav[role=\"navigation\"]')?.scrollTo({top: 0, behavior: 'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expected": {
|
||||
"sidebarReady": true,
|
||||
|
||||
11
faq.json
11
faq.json
@@ -48,14 +48,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -30,16 +30,21 @@
|
||||
"steps": [
|
||||
{
|
||||
"step": 0,
|
||||
"name": "사이드바 초기화",
|
||||
"description": "메뉴 탐색 전 사이드바를 최상단으로 스크롤",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll, [data-sidebar=\"content\"], nav')?.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": 500
|
||||
"duration": 2000
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -58,14 +58,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expect": {
|
||||
"sidebarReady": true
|
||||
|
||||
@@ -48,14 +48,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -82,11 +82,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"step": 0,
|
||||
"name": "사이드바 메뉴 탐색 준비",
|
||||
"description": "사이드바를 최상단으로 스크롤하고 메뉴 구조 파악",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{ "type": "scroll", "target": "sidebar", "direction": "top", "description": "사이드바 최상단으로 스크롤" },
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{
|
||||
"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 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -59,14 +59,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expect": {
|
||||
"sidebarReady": true
|
||||
|
||||
@@ -49,14 +49,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": 0,
|
||||
"name": "사이드바 준비",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "execute",
|
||||
"script": "document.querySelector('.sidebar-scroll, [class*=\"sidebar\"], nav')?.scrollTo({top: 0, behavior: 'instant'})"
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expected": {
|
||||
"sidebarReady": true
|
||||
|
||||
@@ -59,14 +59,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": 0,
|
||||
"name": "사이드바 초기화",
|
||||
"description": "메뉴 탐색 전 사이드바를 최상단으로 스크롤하여 초기화",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll, [class*=\"sidebar\"], nav[class*=\"menu\"]')?.scrollTo({top: 0, behavior: 'instant'})"
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expected": {
|
||||
"sidebarScrollPosition": "top"
|
||||
|
||||
@@ -58,14 +58,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -54,11 +54,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": 0,
|
||||
"name": "사이드바 메뉴 탐색 준비",
|
||||
"description": "사이드바를 스크롤하여 회계관리 메뉴 찾기",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{ "type": "scroll", "target": "sidebar", "direction": "bottom", "description": "사이드바 하단으로 스크롤" },
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{
|
||||
"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 }
|
||||
],
|
||||
"verification": [
|
||||
"사이드바가 화면에 보이는지 확인",
|
||||
|
||||
@@ -71,11 +71,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-00",
|
||||
"name": "사이드바 메뉴 탐색 준비",
|
||||
"description": "사이드바를 최상단으로 스크롤하고 메뉴 구조 파악",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{ "type": "scroll", "target": "sidebar", "direction": "top", "description": "사이드바 최상단으로 스크롤" },
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{
|
||||
"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 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -69,14 +69,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"step": 0,
|
||||
"name": "사이드바 준비",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll, [data-testid=\"sidebar\"], nav[role=\"navigation\"]')?.scrollTo({top: 0, behavior: 'instant'})"
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expected": {
|
||||
"sidebarReady": true
|
||||
|
||||
@@ -54,14 +54,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -57,14 +57,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -58,14 +58,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expect": {
|
||||
"sidebarReady": true
|
||||
|
||||
@@ -55,14 +55,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"step": 0,
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll, [class*=\"sidebar\"], nav[role=\"navigation\"]')?.scrollTo({top: 0, behavior: 'instant'})"
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expected": {
|
||||
"sidebarReady": true
|
||||
|
||||
@@ -55,14 +55,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expect": {
|
||||
"sidebarReady": true
|
||||
|
||||
@@ -56,11 +56,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-00",
|
||||
"name": "사이드바 메뉴 탐색 준비",
|
||||
"description": "사이드바를 최상단으로 스크롤하고 메뉴 구조 파악",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{ "type": "scroll", "target": "sidebar", "direction": "top", "description": "사이드바 최상단으로 스크롤" },
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{
|
||||
"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 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -47,12 +47,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": 0,
|
||||
"name": "사이드바 메뉴 탐색 준비",
|
||||
"description": "사이드바를 최상단으로 스크롤하고 메뉴 구조 파악",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{ "type": "scroll", "target": "sidebar", "direction": "top", "description": "사이드바 최상단으로 스크롤" },
|
||||
{ "type": "wait", "duration": 500 },
|
||||
{ "type": "screenshot", "name": "sidebar_initial_state" }
|
||||
{
|
||||
"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 }
|
||||
],
|
||||
"verification": [
|
||||
"사이드바가 화면에 보이는지 확인",
|
||||
|
||||
@@ -48,14 +48,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -48,11 +48,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": 0,
|
||||
"name": "사이드바 메뉴 탐색 준비",
|
||||
"description": "사이드바를 최상단으로 스크롤하고 메뉴 구조 파악",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{ "type": "scroll", "target": "sidebar", "direction": "top", "description": "사이드바 최상단으로 스크롤" },
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{
|
||||
"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 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -56,14 +56,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expect": {
|
||||
"sidebarReady": true
|
||||
|
||||
@@ -45,19 +45,21 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": 0,
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll, [class*=\"sidebar\"] > div, nav[class*=\"menu\"]')?.scrollTo({top: 0, behavior: 'instant'})"
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "wait",
|
||||
"duration": 500
|
||||
}
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expected": "사이드바가 최상단으로 스크롤됨"
|
||||
"expected": "사이드바 전체 메뉴가 펼쳐짐"
|
||||
},
|
||||
{
|
||||
"id": 1,
|
||||
|
||||
@@ -55,14 +55,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -48,14 +48,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -71,14 +71,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바 스크롤을 최상단으로 이동하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll, [data-sidebar], nav[class*=\"sidebar\"]')?.scrollTo({top: 0, behavior: 'instant'})"
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expect": {
|
||||
"sidebarReady": true
|
||||
|
||||
@@ -42,19 +42,21 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": 0,
|
||||
"name": "사이드바 준비",
|
||||
"description": "메뉴 탐색 전 사이드바를 최상단으로 스크롤",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "scrollSidebarToTop",
|
||||
"script": "document.querySelector('.sidebar-scroll, [class*=\"sidebar\"], nav')?.scrollTo({top:0,behavior:'smooth'})"
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "wait",
|
||||
"duration": 300
|
||||
}
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expected": "사이드바 최상단으로 스크롤 완료"
|
||||
"expected": "사이드바 전체 메뉴가 펼쳐짐"
|
||||
},
|
||||
{
|
||||
"id": 1,
|
||||
|
||||
@@ -38,11 +38,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 메뉴 탐색 준비",
|
||||
"description": "사이드바를 최상단으로 스크롤하고 메뉴 구조 파악",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{ "type": "scroll", "target": "sidebar", "direction": "top", "description": "사이드바 최상단으로 스크롤" },
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{
|
||||
"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 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -52,19 +52,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 준비",
|
||||
"description": "사이드바 스크롤을 최상단으로 이동하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll, [data-sidebar], nav[role=\"navigation\"]')?.scrollTo({top: 0, behavior: 'instant'})",
|
||||
"description": "사이드바 스크롤 최상단 이동"
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "wait",
|
||||
"duration": 500,
|
||||
"description": "스크롤 완료 대기"
|
||||
}
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
],
|
||||
"expect": {
|
||||
"sidebarReady": true
|
||||
|
||||
@@ -49,11 +49,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"step": 0,
|
||||
"name": "사이드바 메뉴 탐색 준비",
|
||||
"description": "사이드바를 최상단으로 스크롤하고 메뉴 구조 파악",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{ "type": "scroll", "target": "sidebar", "direction": "top", "description": "사이드바 최상단으로 스크롤" },
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{
|
||||
"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 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -48,14 +48,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -48,14 +48,19 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "step-0",
|
||||
"name": "사이드바 초기화",
|
||||
"description": "사이드바를 최상단으로 스크롤하여 메뉴 탐색 준비",
|
||||
"name": "사이드바 메뉴 전체 펼치기",
|
||||
"description": "모두 펼치기 버튼을 클릭하여 전체 메뉴를 펼친 후 메뉴 탐색 준비",
|
||||
"actions": [
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "document.querySelector('.sidebar-scroll')?.scrollTo({top:0,behavior:'instant'})"
|
||||
},
|
||||
{ "type": "wait", "duration": 500 }
|
||||
{ "type": "wait", "duration": 300 },
|
||||
{
|
||||
"type": "evaluate",
|
||||
"script": "Array.from(document.querySelectorAll('button')).find(b => b.innerText?.includes('모두 펼치기'))?.click()"
|
||||
},
|
||||
{ "type": "wait", "duration": 2000 }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user