Main specs (7): Converted from delta format (## ADDED/MODIFIED) to proper main spec format (## Purpose + ## Requirements) Changes (3): Added missing spec files for e2e-test-reorganization, journal-poi-details, and mobile-nearby-sync Mobile testing: Added missing scenario for "No Vitest" requirement Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
16 lines
912 B
Markdown
16 lines
912 B
Markdown
## MODIFIED Requirements
|
|
|
|
### Requirement: Planner E2E test infrastructure
|
|
The Planner E2E test suite SHALL mock BRouter by default, split tests by feature file, and provide shared test helpers for common setup patterns.
|
|
|
|
#### Scenario: BRouter mocked by default
|
|
- **WHEN** a Planner E2E test runs
|
|
- **THEN** BRouter is mocked via a shared Playwright fixture unless the test explicitly opts into the real BRouter endpoint
|
|
|
|
#### Scenario: Tests split by feature file
|
|
- **WHEN** the Planner E2E test suite is executed
|
|
- **THEN** tests are organized into focused files by feature area (session, routing, multi-day, overlays, coloring) instead of a single monolithic test file
|
|
|
|
#### Scenario: Shared test helpers
|
|
- **WHEN** a Planner E2E test needs to create a session and wait for connection
|
|
- **THEN** it uses a shared helper function that handles session creation, navigation, and waiting for the connected state
|