{ "id": "settings-barobill", "name": "바로빌연동관리 테스트", "screenshotPolicy": { "onErrorOnly": true, "captureOn": ["error", "fail", "timeout", "404", "500", "blocked"] }, "description": "설정 > 바로빌연동관리 메뉴의 바로빌 연동 설정 조회/수정 기능 테스트", "baseUrl": "https://dev.codebridge-x.com", "menuNavigation": { "level1": "설정", "level2": "바로빌연동관리", "expectedUrl": "/settings/barobill", "searchWithinParent": true, "closeOtherMenus": true }, "auth": { "username": "TestUser5", "password": "password123!" }, "steps": [ { "id": 1, "name": "메뉴 진입: 설정 > 바로빌연동관리", "action": "menu_navigate", "level1": "설정", "level2": "바로빌연동관리", "expected": { "url_contains": "/settings", "visible": ["바로빌"] } }, { "id": 2, "name": "페이지 로드 대기", "action": "wait", "timeout": 3000 }, { "id": 3, "name": "필수 검증: 목업 페이지 감지", "action": "verify_not_mockup", "checks": ["설정 폼 또는 연동 상태 표시", "버튼 동작 가능"], "expected": "정상 페이지 (목업 아님)" }, { "id": 4, "name": "페이지 구조 확인", "action": "evaluate", "script": "(() => { const inputs = document.querySelectorAll('input:not([type=\"hidden\"]), select, textarea'); const buttons = document.querySelectorAll('button'); return 'Inputs: ' + inputs.length + ', Buttons: ' + buttons.length; })()" }, { "id": 5, "name": "연동 상태 확인", "action": "verify_detail", "checks": ["연동 상태 또는 설정 정보 표시"], "expected": "바로빌 연동 정보 표시" }, { "id": 6, "name": "설정 필드 확인", "action": "evaluate", "script": "(() => { const labels = Array.from(document.querySelectorAll('label, [class*=\"label\"]')).map(l => l.innerText?.trim()).filter(Boolean).slice(0, 10); return labels.length > 0 ? 'Fields: ' + labels.join(', ') : 'No labeled fields (ok)'; })()" }, { "id": 7, "name": "저장/수정 버튼 확인", "action": "evaluate", "script": "(() => { const btn = Array.from(document.querySelectorAll('button')).find(b => ['저장','수정','연동','설정'].some(t => b.innerText?.includes(t))); return btn ? 'Action button: ' + btn.innerText.trim() : 'No action button (ok)'; })()" }, { "id": 8, "name": "콘솔 에러 확인", "action": "verify_element", "target": "body" } ], "rollbackPlan": { "note": "조회 위주 테스트로 데이터 변경 최소" } }