Add 5 new E2E tests for period logging modal and edit/delete flows
All checks were successful
Deploy / deploy (push) Successful in 2m38s
All checks were successful
Deploy / deploy (push) Successful in 2m38s
New tests cover: - Period date modal opens from dashboard onboarding banner - Period date input restricts future dates via max attribute - Logging period from modal updates dashboard cycle info - Edit period modal flow changes date successfully - Delete period confirmation flow removes entry Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,7 @@ This file is maintained by Ralph. Run `./ralph-sandbox.sh plan 3` to generate ta
|
||||
|
||||
## Current Status: Feature Complete
|
||||
|
||||
**Test Coverage:** 1014 unit tests (51 files) + 170 E2E tests (12 files) = 1184 total tests
|
||||
**Test Coverage:** 1014 unit tests (51 files) + 175 E2E tests (12 files) = 1189 total tests
|
||||
|
||||
All P0-P5 items are complete. The project is feature complete.
|
||||
|
||||
@@ -97,7 +97,7 @@ All P0-P5 items are complete. The project is feature complete.
|
||||
| PeriodDateModal | 22 | Period input modal |
|
||||
| Skeletons | 29 | Loading states with shimmer |
|
||||
|
||||
### E2E Tests (12 files, 165 tests)
|
||||
### E2E Tests (12 files, 175 tests)
|
||||
| File | Tests | Coverage |
|
||||
|------|-------|----------|
|
||||
| smoke.spec.ts | 3 | Basic app functionality |
|
||||
@@ -105,7 +105,7 @@ All P0-P5 items are complete. The project is feature complete.
|
||||
| dashboard.spec.ts | 24 | Dashboard display, overrides |
|
||||
| settings.spec.ts | 15 | Settings form, validation |
|
||||
| garmin.spec.ts | 12 | Garmin connection, expiry warnings |
|
||||
| period-logging.spec.ts | 14 | Period history, logging |
|
||||
| period-logging.spec.ts | 19 | Period history, logging, modal flows |
|
||||
| calendar.spec.ts | 21 | Calendar view, ICS feed |
|
||||
| decision-engine.spec.ts | 8 | Decision priority chain |
|
||||
| cycle.spec.ts | 11 | Cycle tracking |
|
||||
@@ -130,7 +130,6 @@ These are optional enhancements to improve E2E coverage. Not required for featur
|
||||
| File | Additional Tests | Focus Area |
|
||||
|------|------------------|------------|
|
||||
| auth.spec.ts | +6 | OIDC flow, session persistence |
|
||||
| period-logging.spec.ts | +5 | Future dates, dashboard updates |
|
||||
| calendar.spec.ts | +13 | ICS content validation, responsive |
|
||||
| settings.spec.ts | +6 | Persistence, timezone changes |
|
||||
| garmin.spec.ts | +4 | Token refresh, network error recovery |
|
||||
@@ -150,6 +149,7 @@ These are optional enhancements to improve E2E coverage. Not required for featur
|
||||
|
||||
## Revision History
|
||||
|
||||
- 2026-01-13: Added 5 period-logging E2E tests (modal flow, future date restriction, edit/delete flows)
|
||||
- 2026-01-13: Added 5 Garmin E2E tests (expiry warnings, expired state, persistence, reconnection)
|
||||
- 2026-01-13: Condensed plan after feature completion (reduced from 1514 to ~170 lines)
|
||||
- 2026-01-12: Fixed spec gaps (email format, HRV colors, progress bar, emojis)
|
||||
|
||||
Reference in New Issue
Block a user