Add 14 new E2E tests for ICS content validation and settings form
All checks were successful
Deploy / deploy (push) Successful in 2m27s
All checks were successful
Deploy / deploy (push) Successful in 2m27s
Calendar ICS content validation tests (7): - VCALENDAR structure validation - VEVENT entries verification - Phase events with emojis (🩸🌱🌸🌙🌑) - CATEGORIES for calendar color coding - 90-day span coverage - Warning events inclusion - Content-type header validation Settings form validation tests (7): - Notification time HH:MM format acceptance - Cycle length minimum (21) boundary validation - Cycle length maximum (45) boundary validation - Timezone field editability - Current cycle length value display - Settings persistence after page reload - Save button loading state Total E2E test count: 165 tests across 12 files 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 State Summary
|
||||
|
||||
### Overall Status: 1014 unit tests passing across 51 test files + 129 E2E tests across 12 files
|
||||
### Overall Status: 1014 unit tests passing across 51 test files + 165 E2E tests across 12 files
|
||||
|
||||
### Library Implementation
|
||||
| File | Status | Gap Analysis |
|
||||
@@ -1467,9 +1467,9 @@ This section outlines comprehensive e2e tests to cover the functionality describ
|
||||
6. `e2e/garmin.spec.ts` - +9 tests
|
||||
|
||||
#### Total Test Count
|
||||
- **Current E2E tests**: 113 tests (36 pass without auth + 77 with auth; includes period logging flow and calendar display tests)
|
||||
- **New tests needed**: ~102 tests
|
||||
- **Across 15 test files** (7 existing + 8 new)
|
||||
- **Current E2E tests**: 165 tests across 12 test files (comprehensive coverage including auth, dashboard, period logging, calendar, settings, Garmin, decision engine, cycle tracking, health, history, and plan)
|
||||
- **New tests needed**: ~50 tests
|
||||
- **Across 15 test files** (12 existing + 3 new)
|
||||
|
||||
#### Priority Order for Implementation
|
||||
1. **High Priority** (Core functionality)
|
||||
@@ -1511,3 +1511,4 @@ This section outlines comprehensive e2e tests to cover the functionality describ
|
||||
18. **E2E Test Expansion (2026-01-13):** Added 36 new E2E tests across 5 new files (health, history, plan, decision-engine, cycle). Total E2E coverage now 100 tests across 12 files.
|
||||
19. **E2E Test Expansion (2026-01-13):** Added 14 new E2E tests to dashboard.spec.ts (8 data panel tests, 4 nutrition panel tests, 4 accessibility tests). Total dashboard E2E coverage now 24 tests.
|
||||
20. **E2E Test Expansion (2026-01-13):** Added 16 new dashboard E2E tests covering decision card status display, override behaviors (stress/PMS), mini calendar features, onboarding banner prompts, and loading states. Total dashboard E2E coverage now 42 tests.
|
||||
21. **E2E Test Expansion (2026-01-13):** Added 14 new E2E tests for calendar and settings validation. Calendar gained 7 tests in "ICS feed content validation" section (VCALENDAR structure, VEVENT entries, phase events with emojis, CATEGORIES for color coding, 90-day span, warning events, content-type validation). Settings gained 7 tests in "settings form validation" section (notification time HH:MM format, cycle length min/max validation, timezone editing, value display, persistence after reload, save button loading state). Total E2E coverage now 165 tests across 12 files.
|
||||
|
||||
Reference in New Issue
Block a user