2026-01-30 10:50:38 +09:00
|
|
|
{
|
refactor: E2E 시나리오 전면 개선 (43파일)
- Phase 0: 미구현 모듈 시나리오 13개 삭제 (구매관리, 중복, 라우트 없음)
- Phase 2: Settings URL 불일치 수정 (position, attendance, vacation-policy, bank-account, account, notification)
- Phase 3-4: 비설정 시나리오 URL/메뉴/UI 수정 (inventory-status, receiving-management, price-management, customer-inquiry, shipment-management, sales-client, quality-certification, customer-notice, production-* 등)
- Phase 5-6: 복잡 시나리오 재작성 (draft-box 50→14스텝, department-add 18→10스텝, free-board 70→22스텝, crud-delete-freeboard 14→17스텝)
- 16개 disabled 시나리오 enabled 전환
- 비표준 액션(fillInModal, randomData, usePlaywrightNative 등) → step-executor 표준 액션으로 통일
2026-02-06 17:37:35 +09:00
|
|
|
"enabled": true,
|
2026-01-30 10:50:38 +09:00
|
|
|
"id": "free-board",
|
|
|
|
|
"name": "자유게시판 E2E 테스트",
|
|
|
|
|
"screenshotPolicy": {
|
|
|
|
|
"onErrorOnly": true,
|
2026-02-09 15:05:03 +09:00
|
|
|
"captureOn": [
|
|
|
|
|
"error",
|
|
|
|
|
"fail",
|
|
|
|
|
"timeout",
|
|
|
|
|
"404",
|
|
|
|
|
"500",
|
|
|
|
|
"blocked"
|
|
|
|
|
]
|
2026-01-30 10:50:38 +09:00
|
|
|
},
|
2026-02-07 13:46:22 +09:00
|
|
|
"description": "자유게시판 목록/검색/상세 기능 검증",
|
refactor: E2E 시나리오 전면 개선 (43파일)
- Phase 0: 미구현 모듈 시나리오 13개 삭제 (구매관리, 중복, 라우트 없음)
- Phase 2: Settings URL 불일치 수정 (position, attendance, vacation-policy, bank-account, account, notification)
- Phase 3-4: 비설정 시나리오 URL/메뉴/UI 수정 (inventory-status, receiving-management, price-management, customer-inquiry, shipment-management, sales-client, quality-certification, customer-notice, production-* 등)
- Phase 5-6: 복잡 시나리오 재작성 (draft-box 50→14스텝, department-add 18→10스텝, free-board 70→22스텝, crud-delete-freeboard 14→17스텝)
- 16개 disabled 시나리오 enabled 전환
- 비표준 액션(fillInModal, randomData, usePlaywrightNative 등) → step-executor 표준 액션으로 통일
2026-02-06 17:37:35 +09:00
|
|
|
"baseUrl": "https://dev.codebridge-x.com",
|
2026-01-30 10:50:38 +09:00
|
|
|
"menuNavigation": {
|
|
|
|
|
"level1": "게시판",
|
|
|
|
|
"level2": "자유게시판",
|
refactor: E2E 시나리오 전면 개선 (43파일)
- Phase 0: 미구현 모듈 시나리오 13개 삭제 (구매관리, 중복, 라우트 없음)
- Phase 2: Settings URL 불일치 수정 (position, attendance, vacation-policy, bank-account, account, notification)
- Phase 3-4: 비설정 시나리오 URL/메뉴/UI 수정 (inventory-status, receiving-management, price-management, customer-inquiry, shipment-management, sales-client, quality-certification, customer-notice, production-* 등)
- Phase 5-6: 복잡 시나리오 재작성 (draft-box 50→14스텝, department-add 18→10스텝, free-board 70→22스텝, crud-delete-freeboard 14→17스텝)
- 16개 disabled 시나리오 enabled 전환
- 비표준 액션(fillInModal, randomData, usePlaywrightNative 등) → step-executor 표준 액션으로 통일
2026-02-06 17:37:35 +09:00
|
|
|
"expectedUrl": "/boards/free",
|
2026-02-04 21:59:56 +09:00
|
|
|
"searchWithinParent": true,
|
|
|
|
|
"closeOtherMenus": true
|
|
|
|
|
},
|
|
|
|
|
"auth": {
|
|
|
|
|
"username": "TestUser5",
|
|
|
|
|
"password": "password123!"
|
2026-01-30 10:50:38 +09:00
|
|
|
},
|
|
|
|
|
"steps": [
|
|
|
|
|
{
|
refactor: E2E 시나리오 전면 개선 (43파일)
- Phase 0: 미구현 모듈 시나리오 13개 삭제 (구매관리, 중복, 라우트 없음)
- Phase 2: Settings URL 불일치 수정 (position, attendance, vacation-policy, bank-account, account, notification)
- Phase 3-4: 비설정 시나리오 URL/메뉴/UI 수정 (inventory-status, receiving-management, price-management, customer-inquiry, shipment-management, sales-client, quality-certification, customer-notice, production-* 등)
- Phase 5-6: 복잡 시나리오 재작성 (draft-box 50→14스텝, department-add 18→10스텝, free-board 70→22스텝, crud-delete-freeboard 14→17스텝)
- 16개 disabled 시나리오 enabled 전환
- 비표준 액션(fillInModal, randomData, usePlaywrightNative 등) → step-executor 표준 액션으로 통일
2026-02-06 17:37:35 +09:00
|
|
|
"id": 1,
|
|
|
|
|
"name": "메뉴 진입: 게시판 > 자유게시판",
|
|
|
|
|
"action": "menu_navigate",
|
|
|
|
|
"level1": "게시판",
|
|
|
|
|
"level2": "자유게시판",
|
2026-02-09 15:05:03 +09:00
|
|
|
"expected": {
|
|
|
|
|
"url_contains": "/boards/free"
|
|
|
|
|
}
|
2026-01-30 10:50:38 +09:00
|
|
|
},
|
|
|
|
|
{
|
refactor: E2E 시나리오 전면 개선 (43파일)
- Phase 0: 미구현 모듈 시나리오 13개 삭제 (구매관리, 중복, 라우트 없음)
- Phase 2: Settings URL 불일치 수정 (position, attendance, vacation-policy, bank-account, account, notification)
- Phase 3-4: 비설정 시나리오 URL/메뉴/UI 수정 (inventory-status, receiving-management, price-management, customer-inquiry, shipment-management, sales-client, quality-certification, customer-notice, production-* 등)
- Phase 5-6: 복잡 시나리오 재작성 (draft-box 50→14스텝, department-add 18→10스텝, free-board 70→22스텝, crud-delete-freeboard 14→17스텝)
- 16개 disabled 시나리오 enabled 전환
- 비표준 액션(fillInModal, randomData, usePlaywrightNative 등) → step-executor 표준 액션으로 통일
2026-02-06 17:37:35 +09:00
|
|
|
"id": 2,
|
2026-02-09 15:05:03 +09:00
|
|
|
"name": "URL 검증",
|
|
|
|
|
"action": "verify_url",
|
|
|
|
|
"expected": {
|
|
|
|
|
"url_contains": "/boards/free"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 3,
|
2026-02-07 13:46:22 +09:00
|
|
|
"name": "목업 감지",
|
|
|
|
|
"action": "verify_not_mockup"
|
2026-01-30 10:50:38 +09:00
|
|
|
},
|
|
|
|
|
{
|
2026-02-09 15:05:03 +09:00
|
|
|
"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,
|
2026-02-07 13:46:22 +09:00
|
|
|
"name": "자유게시판 페이지 확인",
|
|
|
|
|
"action": "verify_detail",
|
2026-02-09 15:05:03 +09:00
|
|
|
"checks": [
|
|
|
|
|
"visible_text:게시판"
|
|
|
|
|
]
|
2026-01-30 10:50:38 +09:00
|
|
|
},
|
|
|
|
|
{
|
2026-02-09 15:05:03 +09:00
|
|
|
"id": 6,
|
2026-02-07 13:46:22 +09:00
|
|
|
"name": "테이블 확인",
|
|
|
|
|
"action": "verify_table"
|
2026-01-30 10:50:38 +09:00
|
|
|
},
|
|
|
|
|
{
|
2026-02-09 15:05:03 +09:00
|
|
|
"id": 7,
|
|
|
|
|
"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": 8,
|
2026-02-07 13:46:22 +09:00
|
|
|
"name": "검색 기능",
|
|
|
|
|
"action": "search",
|
|
|
|
|
"value": "테스트"
|
2026-01-30 10:50:38 +09:00
|
|
|
},
|
|
|
|
|
{
|
2026-02-09 15:05:03 +09:00
|
|
|
"id": 9,
|
|
|
|
|
"name": "검색 결과 대기",
|
|
|
|
|
"action": "wait",
|
|
|
|
|
"duration": 1000
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 10,
|
|
|
|
|
"name": "검색 결과 데이터 검증",
|
|
|
|
|
"action": "evaluate",
|
|
|
|
|
"script": "(() => {\n const rows = document.querySelectorAll('table tbody tr, [role=\"row\"]');\n return 'Search result: ' + rows.length + ' rows';\n })()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 11,
|
|
|
|
|
"name": "검색 초기화",
|
|
|
|
|
"action": "evaluate",
|
|
|
|
|
"script": "(() => {\n const selectors = ['input[type=\"search\"]', 'input[placeholder*=\"검색\"]', 'input[placeholder*=\"Search\"]', 'input[role=\"searchbox\"]', '[class*=\"search\"] input'];\n for (const sel of selectors) {\n const el = document.querySelector(sel);\n if (el) {\n const nativeSetter = Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, 'value')?.set;\n if (nativeSetter) nativeSetter.call(el, '');\n else el.value = '';\n el.dispatchEvent(new Event('input', { bubbles: true }));\n el.dispatchEvent(new Event('change', { bubbles: true }));\n return 'Search cleared';\n }\n }\n return 'No search input found (ok)';\n })()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 12,
|
|
|
|
|
"name": "검색 초기화 결과 대기",
|
|
|
|
|
"action": "wait",
|
|
|
|
|
"duration": 1000
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 13,
|
|
|
|
|
"name": "검색 초기화 및 복원 확인",
|
|
|
|
|
"action": "evaluate",
|
|
|
|
|
"script": "(() => {\n const rows = document.querySelectorAll('table tbody tr, [role=\"row\"]');\n return 'Restored: ' + rows.length + ' rows';\n })()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 14,
|
2026-02-07 13:46:22 +09:00
|
|
|
"name": "검색 후 페이지 확인",
|
|
|
|
|
"action": "verify_detail",
|
2026-02-09 15:05:03 +09:00
|
|
|
"checks": [
|
|
|
|
|
"visible_text:게시판"
|
|
|
|
|
]
|
2026-01-30 10:50:38 +09:00
|
|
|
},
|
|
|
|
|
{
|
2026-02-09 15:05:03 +09:00
|
|
|
"id": 15,
|
2026-02-07 13:46:22 +09:00
|
|
|
"name": "첫 번째 행 클릭",
|
|
|
|
|
"action": "click_first_row"
|
2026-01-30 10:50:38 +09:00
|
|
|
},
|
|
|
|
|
{
|
2026-02-09 15:05:03 +09:00
|
|
|
"id": 16,
|
|
|
|
|
"name": "상세 페이지 로딩 대기",
|
|
|
|
|
"action": "wait",
|
|
|
|
|
"duration": 1000
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 17,
|
|
|
|
|
"name": "상세 페이지 - 콘텐츠 확인",
|
|
|
|
|
"action": "evaluate",
|
|
|
|
|
"script": "(() => {\n const inputs = document.querySelectorAll('input:not([type=\"hidden\"]), textarea, select');\n const buttons = document.querySelectorAll('button');\n const hasDetail = inputs.length > 0 || document.body.innerText.includes('상세') || document.body.innerText.includes('수정');\n return hasDetail ? 'Detail page: ' + inputs.length + ' inputs, ' + buttons.length + ' buttons' : 'List page (no detail view)';\n })()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 18,
|
2026-02-07 13:46:22 +09:00
|
|
|
"name": "상세 페이지 확인",
|
|
|
|
|
"action": "verify_detail",
|
2026-02-09 15:05:03 +09:00
|
|
|
"checks": [
|
|
|
|
|
"visible_text:게시"
|
|
|
|
|
]
|
2026-01-30 10:50:38 +09:00
|
|
|
},
|
|
|
|
|
{
|
2026-02-09 15:05:03 +09:00
|
|
|
"id": 19,
|
2026-02-07 13:46:22 +09:00
|
|
|
"name": "모달 닫기",
|
|
|
|
|
"action": "close_modal_if_open"
|
2026-01-30 10:50:38 +09:00
|
|
|
},
|
|
|
|
|
{
|
2026-02-09 15:05:03 +09:00
|
|
|
"id": 20,
|
|
|
|
|
"name": "페이지네이션 확인",
|
|
|
|
|
"action": "evaluate",
|
|
|
|
|
"script": "(() => {\n const paginationSels = ['[class*=\"pagination\"]', '[class*=\"Pagination\"]', 'nav[aria-label*=\"page\"]', 'button[aria-label*=\"page\"]', '[class*=\"pager\"]'];\n for (const sel of paginationSels) {\n const el = document.querySelector(sel);\n if (el) return 'Pagination found';\n }\n const pageButtons = Array.from(document.querySelectorAll('button')).filter(b => /^\\d+$/.test(b.innerText?.trim()));\n if (pageButtons.length > 0) return 'Page buttons found: ' + pageButtons.length;\n return 'No pagination (ok - may have single page)';\n })()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 21,
|
|
|
|
|
"name": "콘솔 에러 확인",
|
|
|
|
|
"action": "verify_element",
|
|
|
|
|
"target": "body"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 22,
|
2026-02-07 13:46:22 +09:00
|
|
|
"name": "목록 복귀",
|
2026-02-06 00:46:05 +09:00
|
|
|
"action": "click_if_exists",
|
2026-02-07 13:46:22 +09:00
|
|
|
"target": "button:has-text('목록'), a:has-text('목록')"
|
2026-01-30 10:50:38 +09:00
|
|
|
}
|
2026-02-07 13:46:22 +09:00
|
|
|
]
|
2026-01-30 10:50:38 +09:00
|
|
|
}
|