docs: create milestone v1.3 roadmap (2 phases)
Phases: 17. Unit Tests (Jest): UNIT-01, UNIT-02, UNIT-03 18. Integration Tests (Playwright): INT-01, INT-02, INT-03 All 6 requirements mapped to phases.
This commit is contained in:
parent
2c78e39ab8
commit
c5600e9315
|
|
@ -13,6 +13,7 @@ None
|
|||
- ✅ **v1.0 Media Players** - Phases 1-5 (shipped 2026-01-14)
|
||||
- ✅ **v1.1 Music Session Chat** - Phases 6-11 (shipped 2026-01-31)
|
||||
- ✅ **v1.2 Session Attachments** - Phases 12-16 (shipped 2026-02-07)
|
||||
- 🚧 **v1.3 Session Settings Tests** - Phases 17-18 (in progress)
|
||||
|
||||
## Phases
|
||||
|
||||
|
|
@ -66,6 +67,13 @@ Decimal phases appear between their surrounding integers in numeric order.
|
|||
|
||||
</details>
|
||||
|
||||
### 🚧 v1.3 Session Settings Tests (Phases 17-18) - IN PROGRESS
|
||||
|
||||
**Milestone Goal:** Add test coverage for the Session Settings modal component (JKSessionSettingsModal) to enable confident changes.
|
||||
|
||||
- [ ] **Phase 17: Unit Tests (Jest)** - Component rendering, save payload, loading state
|
||||
- [ ] **Phase 18: Integration Tests (Playwright)** - Settings button, save API call, cancel behavior
|
||||
|
||||
## Phase Details
|
||||
|
||||
### ✅ v1.0 Media Players - SHIPPED 2026-01-14
|
||||
|
|
@ -311,10 +319,48 @@ Plans:
|
|||
|
||||
</details>
|
||||
|
||||
### 🚧 v1.3 Session Settings Tests (Phases 17-18) - IN PROGRESS
|
||||
|
||||
**Milestone Goal:** Add test coverage for the Session Settings modal component (JKSessionSettingsModal) to enable confident changes.
|
||||
|
||||
#### Phase 17: Unit Tests (Jest)
|
||||
**Goal**: Create Jest unit tests for JKSessionSettingsModal component covering critical paths
|
||||
**Depends on**: Phase 16 (previous milestone complete)
|
||||
**Research**: Unlikely (testing patterns established in codebase)
|
||||
**Requirements**: UNIT-01, UNIT-02, UNIT-03
|
||||
**Plans**: 1 plan
|
||||
|
||||
**Success Criteria:**
|
||||
1. Test file created at `jam-ui/src/components/client/__tests__/JKSessionSettingsModal.test.js`
|
||||
2. UNIT-01: Test verifies modal renders with currentSession props (privacy, description values displayed)
|
||||
3. UNIT-02: Test verifies save button calls onSave with correctly transformed payload (privacy number, description)
|
||||
4. UNIT-03: Test verifies loading state disables form interactions (save button disabled, inputs disabled)
|
||||
5. All tests pass with `npm run test:unit`
|
||||
|
||||
Plans:
|
||||
- [ ] 17-01-PLAN.md — Jest unit tests for JKSessionSettingsModal
|
||||
|
||||
#### Phase 18: Integration Tests (Playwright)
|
||||
**Goal**: Create Playwright integration tests for Session Settings modal user flows
|
||||
**Depends on**: Phase 17
|
||||
**Research**: Unlikely (Playwright patterns established in codebase)
|
||||
**Requirements**: INT-01, INT-02, INT-03
|
||||
**Plans**: 1 plan
|
||||
|
||||
**Success Criteria:**
|
||||
1. Test file created at `jam-ui/test/session-settings/session-settings.spec.ts`
|
||||
2. INT-01: Test verifies Settings button in session toolbar opens modal
|
||||
3. INT-02: Test verifies save settings makes PUT /sessions/{id} API call with correct data
|
||||
4. INT-03: Test verifies cancel closes modal without making API call
|
||||
5. All tests pass with `npx playwright test session-settings`
|
||||
|
||||
Plans:
|
||||
- [ ] 18-01-PLAN.md — Playwright integration tests for Session Settings modal
|
||||
|
||||
## Progress
|
||||
|
||||
**Execution Order:**
|
||||
Phases execute in numeric order: 1 → 2 → 3 → 4 → 5 → 6 → 7 → 8 → 9 → 10 → 11 → 12 → 13 → 14 → 15 → 16
|
||||
Phases execute in numeric order: 1 → 2 → ... → 16 → 17 → 18
|
||||
|
||||
| Phase | Milestone | Plans Complete | Status | Completed |
|
||||
|-------|-----------|----------------|--------|-----------|
|
||||
|
|
@ -334,3 +380,5 @@ Phases execute in numeric order: 1 → 2 → 3 → 4 → 5 → 6 → 7 → 8 →
|
|||
| 14. Chat Integration & Display | v1.2 | 3/3 | Complete | 2026-02-06 |
|
||||
| 15. Real-time Synchronization | v1.2 | 1/1 | Complete | 2026-02-06 |
|
||||
| 16. Attachment Finalization | v1.2 | 2/2 | Complete | 2026-02-07 |
|
||||
| 17. Unit Tests (Jest) | v1.3 | 0/1 | Pending | — |
|
||||
| 18. Integration Tests (Playwright) | v1.3 | 0/1 | Pending | — |
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@ See: .planning/PROJECT.md (updated 2026-02-07)
|
|||
|
||||
## Current Position
|
||||
|
||||
Phase: Not started (defining requirements)
|
||||
Plan: —
|
||||
Status: Defining requirements
|
||||
Last activity: 2026-02-07 — Milestone v1.3 started
|
||||
Phase: 17 (Unit Tests)
|
||||
Plan: Not started
|
||||
Status: Ready to plan Phase 17
|
||||
Last activity: 2026-02-07 — Roadmap created
|
||||
|
||||
Progress: ░░░░░░░░░░░░ 0%
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue