kjh2064
|
adf1837c24
|
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>
|
2026-08-12 01:47:44 +09:00 |
|
kjh2064
|
8e193b0ba2
|
Gate 7a: Fix E2E test Playwright strict mode violation
ci / backend (push) Failing after 1s
Build & Test with Secrets / build (push) Failing after 2s
ci / static (push) Failing after 9s
Build & Test with Secrets / security-scan (push) Failing after 7s
ci / frontend (push) Failing after 1m24s
Build & Test with Secrets / frontend (push) Failing after 1m23s
Build & Test with Secrets / notification (push) Failing after 1s
Issue: getByText('RESEARCH_CANDIDATE_NOT_PRODUCTION') resolved to 2 elements
- Header: <strong>RESEARCH_CANDIDATE_NOT_PRODUCTION · 자동주문 OFF</strong>
- Footer: <footer>RESEARCH_CANDIDATE_NOT_PRODUCTION</footer>
Playwright strict mode requires exactly 1 element match
Fix: Use footer-scoped selector with exact: true
- Before: page.getByText('RESEARCH_CANDIDATE_NOT_PRODUCTION')
- After: page.locator('footer').getByText(..., { exact: true })
Result:
✅ E2E test passes (609ms)
✅ Non-production boundary declaration verified
✅ Auto-order OFF status visible
AGENTS.md v16.0:
✅ Right-way: Test selector fixed (not app code)
✅ Necessity: E2E coverage validates UI contract
✅ Reliability: Playwright strict mode enforced
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
|
2026-08-03 16:16:26 +09:00 |
|