Story QA Workflow

QE test planning — test plan, test data requirements, edge cases, and coverage targets across 5 test layers.

~6 phasesTEST_PLAN_PUBLISHEDQE / SDET

Pipeline

Phase Summary

Hover over any phase name to see what it does in detail.

#PhasePurposeKey Output
1INTAKEFetch ticket, Confluence pages, PRD, and upstream contentINTAKE.md
2ASSESSEvaluate testability using ACs, PRD specs, and Confluence dataASSESSMENT.md
3PLAN_TESTSDefine test plan across 5 automated layers + manualTEST_PLAN.md
4PLAN_DATADefine test data — fixtures, mocks, seeds, edge casesTEST_DATA_PLAN.md
5VALIDATEVerify coverage meets thresholds, all ACs have testsQA_VALIDATION.md
6PUBLISHUpdate Jira with QE Test Plan + create QE sub-tasksPUBLISH.md

5 Test Layers

Every story gets coverage across all five layers. PLAN_TESTS maps each AC to the appropriate layers.

LayerFrameworkWhatWhen
UnitJest + mockingPer-function, per-componentEvery commit
IntegrationJest + Supertest + Pact.jsAPI contracts, service integrationEvery PR
E2EPlaywright / CypressUser journeys, cross-service flowsNightly/pre-release
SecurityESLint security + Snyk + OWASP ZAPInjection, auth bypass, headersPR + nightly
Performancek6 or autocannonLoad, response time, throughputPre-release/weekly

What Gets Added to Jira

The PUBLISH phase appends the following QE Test Plan section to the Jira ticket and creates sub-tasks per test layer.

## QE Test Plan

**Testability Assessment:** 8/10 ACs fully automatable, 2 manual-only

**Coverage Targets:** Unit 90% | Integration 85% | E2E critical paths

### Test Layers

- Unit: 12 tests (Jest) — per-function validation

- Integration: 6 tests (Supertest + Pact) — API contracts

- E2E: 4 tests (Playwright) — user journeys

- Security: 3 scans (Snyk + ZAP) — injection, auth

- Performance: 2 benchmarks (k6) — load, response time

### Test Data Requirements

- Fixtures: 4 JSON files, 2 SQL seeds

- Mocks: MSW handlers for 3 API endpoints

- Edge cases: boundary values, unicode input, large payloads

### Sub-tasks Created

- [PROJ-101] QE: Unit tests for Story PROJ-100

- [PROJ-102] QE: Integration tests for Story PROJ-100

- [PROJ-103] QE: E2E tests for Story PROJ-100

- [PROJ-104] QE: Security scan for Story PROJ-100

- [PROJ-105] QE: Performance tests for Story PROJ-100

**Labels added:** qe-ready

Signal Flow

SignalTypeMeaning
PHASE_COMPLETEAdvancePhase done, advance to next
BLOCKED_NEEDS_TESTABILITYBlockStory ACs not testable, needs rewrite
COVERAGE_GAPLoopbackCoverage thresholds not met, loop back to PLAN_TESTS
MISSING_TEST_DATALoopbackTest data incomplete, loop back to PLAN_DATA
TEST_PLAN_PUBLISHEDTerminalWorkflow complete, Jira updated with QE Test Plan