forked from GitHubMirrors/silverbullet-icalendar
chore(conductor): Add new track 'Testing Infrastructure'
This commit is contained in:
27
conductor/tracks/testing_infrastructure_20260219/plan.md
Normal file
27
conductor/tracks/testing_infrastructure_20260219/plan.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# Implementation Plan - Testing Infrastructure
|
||||
|
||||
## Phase 1: Environment & Mock Server
|
||||
- [ ] Task: Scaffold Docker environment
|
||||
- [ ] Create test_data/ directory.
|
||||
- [ ] Create docker-compose.test.yml with SilverBullet and an Nginx container serving test_data/.
|
||||
- [ ] Task: Integration Test Scaffolding
|
||||
- [ ] Create tests/integration_test.ts that uses the actual ts-ics parser on files in test_data/.
|
||||
- [ ] Task: Conductor - User Manual Verification 'Environment & Mock Server' (Protocol in workflow.md)
|
||||
|
||||
## Phase 2: Playwright E2E Setup
|
||||
- [ ] Task: Initialize Playwright
|
||||
- [ ] Setup Playwright with necessary configurations for Docker (headless, CI mode).
|
||||
- [ ] Task: Implement sync smoke test
|
||||
- [ ] Create tests/e2e/sync.spec.ts.
|
||||
- [ ] Automate login, plug installation (icalendar.plug.js), and triggering the "iCalendar: Sync" command.
|
||||
- [ ] Implement console listener to fail on Error or TypeError.
|
||||
- [ ] Task: Conductor - User Manual Verification 'Playwright E2E Setup' (Protocol in workflow.md)
|
||||
|
||||
## Phase 3: Validation & Bug Fix
|
||||
- [ ] Task: Verify Infrastructure against current bug
|
||||
- [ ] Add the problematic .ics to test_data/.
|
||||
- [ ] Confirm that E2E and Integration tests fail with Unknown RRULE property 'WORKWEEKSTART'.
|
||||
- [ ] Task: Implement Fix for WORKWEEKSTART
|
||||
- [ ] Update RRULE_KEY_MAP in icalendar.ts.
|
||||
- [ ] Run tests again to confirm they pass.
|
||||
- [ ] Task: Conductor - User Manual Verification 'Validation & Bug Fix' (Protocol in workflow.md)
|
||||
Reference in New Issue
Block a user