Implement Journey Certification Tests
BPE-5 Order: #5 Construction Has Dependencies
Updated 1 month, 2 weeks ago
Guidance
APPEND TO GUIDANCE:
TFK Integration: E2E Infrastructure
Journey certification tests that require browser-based Playwright execution use TFK's E2E infrastructure under tests/e2e/.
E2E vs AT (clarification)
- AT (BPE-04): Proves one particular feature works.
docs/features/via Django test client (behave --simple). Fast. Every CI run. - E2E (BPE-05): Proves the ability to fulfill a goal using system means.
tests/e2e/via Playwright + LiveServer. Sequential. Screenshots. Staging / release certification.
Same Gherkin phrases (catalog); separate step implementations and environment.py.
Using TFK E2E Infrastructure
- Locate journey intent: Read
docs/features/user_journey.mdfor the multi-screen goal. - Write E2E
.feature: Add journey scenarios totests/e2e/(optionally tag@e2e). - Write as multi-phase .feature: One long sequential
.featurefile with multiple scenarios. - Environment targeting: Use
--base-urlto point at any environment. - Screenshots:
tests/e2e/environment.pyautomatically captures screenshots after every step. - Data preparation: E2E tests use
--db-urito load initial data via loaddump. - Run:
make test-e2e→manage.py behave tests/e2e/.
Inputs (additional)
- E2E Test Configuration (Code, Required) — produced by TFK-06.
- Fixture Library Catalog (Document, Required) — produced by TFK-04.
TFK Integration: E2E Infrastructure
Journey certification tests that require browser-based Playwright execution use TFK's E2E infrastructure under tests/e2e/.
E2E vs AT (clarification)
- AT (BPE-04): Proves one particular feature works.
docs/features/via Django test client (behave --simple). Fast. Every CI run. - E2E (BPE-05): Proves the ability to fulfill a goal using system means.
tests/e2e/via Playwright + LiveServer. Sequential. Screenshots. Staging / release certification.
Same Gherkin phrases (catalog); separate step implementations and environment.py.
Using TFK E2E Infrastructure
- Locate journey intent: Read
docs/features/user_journey.mdfor the multi-screen goal. - Write E2E
.feature: Add journey scenarios totests/e2e/(optionally tag@e2e). - Write as multi-phase .feature: One long sequential
.featurefile with multiple scenarios. - Environment targeting: Use
--base-urlto point at any environment. - Screenshots:
tests/e2e/environment.pyautomatically captures screenshots after every step. - Data preparation: E2E tests use
--db-urito load initial data via loaddump. - Run:
make test-e2e→manage.py behave tests/e2e/.
Inputs (additional)
- E2E Test Configuration (Code, Required) — produced by TFK-06.
- Fixture Library Catalog (Document, Required) — produced by TFK-04.
Responsive Viewport Certification
Use the viewport matrix and Screen ID-to-recipe coverage table from docs/ux/IA_guidelines.md as executable test input.
- Parameterize Playwright browser contexts with every required CSS-pixel viewport profile.
- Exercise each journey screen at every profile. Shared recipe assertions may be reused across screens, but the coverage report must show every Screen ID/profile pair.
- Assert the universal IA outcomes: no unintended page-level horizontal overflow; no clipped or overlapping essential content; coherent stacking and focus order; reachable navigation and primary action; intentional overflow contained by its component; and correct low-height or full-viewport behavior.
- Add focused assertions for every screen-specific responsive scenario from ESM-05.
- Capture a screenshot after the responsive layout has settled at each Screen ID/profile pair. Mask or stabilize volatile content according to the test architecture.
- Produce a responsive evidence manifest containing Screen ID, recipe, profile, viewport dimensions, assertion result, and screenshot path.
Do not certify responsiveness from a single default browser context. A screenshot alone is review evidence, not a substitute for layout assertions; assertions alone are not a substitute for human visual review of the required evidence set.
Details
- Order:
- #5
- Phase:
- Predecessor:
- BPE-4 Implement Feature Acceptance Tests
- Created:
- Apr 12, 2026
- Last Updated:
- Sep 22, 2026
Workflow
Build Feature
Interactive, feature-by-feature AI-assisted development. Use BPE after ESM, DTA, DSP, and BSP are complete to build one feature spec at …
View WorkflowAssigned Agent
Dr. Dobbs v2
Cautious Developer Agent Guide Motto: "Code that's easy to prove correct is code that works" …
Required Skills
- Playwright Semantic Naming for UI Testing UI_TESTING Playwright+HTML
Rules
-
Not Mock In Integration Tests
do-not-mock-in-integration-tests -
Runner
do-runner -
Test First
do-test-first -
Test Fixture Data Management
do-test-fixture-data-management
Input Artifacts 3
-
Feature Files
Document
Required
Produced by: Write Feature Files -
Implementation Plan Template
Document
Required
Produced by: Plan Feature -
Screen Flow / Dialogue Map
Diagram
Required
Produced by: Create Dialogue Maps
Output Artifacts
No output artifacts