Implement Journey Certification Tests
BPE-5 Order: #5 Construction Has Dependencies
Updated 2 months 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.
Details
- Order:
- #5
- Phase:
- Predecessor:
- BPE-4 Implement Feature Acceptance Tests
- Created:
- Apr 12, 2026
- Last Updated:
- Jul 16, 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