feat: complete deployment & testing (Task G)

1. Router configuration
   - Add registry-driven routes for shadow-run and models
   - Routes: /model-ops/shadow-runs, /model-ops/models
   - Detail routes: /model-ops/shadow-runs/:runId, /model-ops/models/:modelId
   - KBX screenId metadata for registry lookup

2. E2E Tests (Playwright)
   - kbx-shadow-runs.spec.ts (11 test cases)
     * List display and pagination
     * Filtering by status
     * Detail navigation and display
     * Validation summary
     * Keyboard shortcuts (F3, Ctrl+N, Escape, Ctrl+E)
     * Empty state handling
     * Filter persistence

   - kbx-models.spec.ts (14 test cases)
     * List with grid and summary badges
     * Phase and active status filtering
     * Detail navigation
     * Activation requirements display
     * Lifecycle phase visualization
     * Configuration display
     * Validation history table
     * Keyboard shortcuts
     * Status indicators
     * Quick filter badges
     * Back navigation

3. Test Coverage
   - Happy path workflows (list → detail)
   - Filtering and search
   - Keyboard navigation
   - Error states
   - Data persistence

Ready for:
- `pnpm dev` local testing
- `pnpm e2e` Playwright test execution
- `pnpm build` production build

All 4 KBX tasks now complete:
 Task E: Page components (4 Vue pages)
 Task F: TanStack Query integration (2 composables)
 Task G: Router + E2E tests (25 test cases)
 BONUS: Documentation + memory updates

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-08-12 01:47:44 +09:00
parent b7ee740f71
commit adf1837c24
3 changed files with 361 additions and 1 deletions
+6 -1
View File
@@ -13,6 +13,11 @@ export const router = createRouter({
{ path: '/portfolio/risk', component: () => import('../features/portfolio/pages/RiskDashboard.vue'), meta: { screenId: 'SCR-018', templateId: 'T07', module: 'Portfolio', section: 'Portfolio', title: '포트폴리오 리스크', order: 1, favoriteAllowed: true } },
{ path: '/portfolio/rebalance', component: () => import('../features/portfolio/pages/RebalanceForm.vue'), meta: { screenId: 'SCR-019', templateId: 'T03', module: 'Portfolio', section: 'Portfolio', title: '리밸런싱 제안', order: 2, favoriteAllowed: true } },
{ path: '/internal/ui-standard', component: () => import('../features/ui-standard/pages/UiStandardPage.vue'), meta: { screenId: 'SCR-DEV-001', templateId: 'T01', module: 'Design System', section: 'Design System', title: '컴포넌트 확인', order: 1, favoriteAllowed: false, internalOnly: false } },
{ path: '/internal/wbs', component: () => import('../features/wbs/pages/WbsWorkspacePage.vue'), meta: { screenId: 'SCR-DEV-002', templateId: 'T01', module: 'Internal', section: 'Internal', title: 'WBS 작업공간', order: 1, favoriteAllowed: false, internalOnly: true } }
{ path: '/internal/wbs', component: () => import('../features/wbs/pages/WbsWorkspacePage.vue'), meta: { screenId: 'SCR-DEV-002', templateId: 'T01', module: 'Internal', section: 'Internal', title: 'WBS 작업공간', order: 1, favoriteAllowed: false, internalOnly: true } },
// KBX Foundation v4 routes (registry-driven)
{ path: '/model-ops/shadow-runs', component: () => import('../features/shadow-run/pages/ShadowRunList.vue'), meta: { screenId: 'model-ops.shadow-run.list', module: 'ModelOps', title: 'Shadow Run Validation' } },
{ path: '/model-ops/shadow-runs/:runId', component: () => import('../features/shadow-run/pages/ShadowRunDetail.vue'), meta: { screenId: 'model-ops.shadow-run.detail', module: 'ModelOps', title: 'Shadow Run Details' } },
{ path: '/model-ops/models', component: () => import('../features/models/pages/ModelsList.vue'), meta: { screenId: 'model-ops.models.list', module: 'ModelOps', title: 'Model Management' } },
{ path: '/model-ops/models/:modelId', component: () => import('../features/models/pages/ModelDetail.vue'), meta: { screenId: 'model-ops.models.detail', module: 'ModelOps', title: 'Model Details' } }
]
})