Test cases
Test cases (CAP RPL)
Section titled “Test cases (CAP RPL)”Audience: qa, product
Status: specced
Owns: QA
Depends on: Lifecycle, Policies, Experience flows
Format follows the contributing test-case template. Expand as features land; keep codes stable.
Happy path
Section titled “Happy path”ID: TC-HP-01Given: Candidate with verified NIN; Application DRAFT / AWAITING_ACTIONWhen: Candidate submits application with trade/unitsThen: Stage becomes CENTRE_REVIEW; status AWAITING_ACTION (or equivalent awaiting reviewer)Refs: lifecycle happy path · INV-01ID: TC-HP-02Given: Application CENTRE_REVIEW; centre acceptsWhen: Candidate completes PAYMENTThen: Facilitator may be assigned; EVIDENCE can proceedRefs: Payment module · INV-03ID: TC-HP-03Given: Application through INTERVIEW with successful panel outcome and verificationsWhen: Awarding path completes CERTIFICATIONThen: Certificate issued/collectable per policy; application reaches terminal success pathRefs: lifecycle · POL-06Attention required
Section titled “Attention required”ID: TC-ATT-01Given: Application CENTRE_REVIEW / ATTENTION_REQUIREDWhen: Candidate amends and resubmits per feedbackThen: Application returns to centre review awaiting action (not a second concurrent active path)Refs: lifecycle · experience centre/candidate flowsAppeal
Section titled “Appeal”ID: TC-APL-01Given: Application INTERVIEW with outcome candidate disputesWhen: Candidate opens appealThen: Status APPEAL_OPEN; discussion chat available with facilitator/panel as designedRefs: lifecycle · personas CandidateGap training
Section titled “Gap training”ID: TC-GAP-01Given: Interview unsuccessful with competency gapsWhen: System closes application path for gapsThen: Stage CLOSED with reason GAP_TRAINING; LMS recommendations visible to candidate (and panelists when relevant)Refs: Recommendations · INV-06 · LMS overviewConcurrent application
Section titled “Concurrent application”ID: TC-CON-01Given: Candidate has one active non-draft ApplicationWhen: Candidate attempts to start another application pathThen: Action blocked until policy allows (feedback/ATTENTION_REQUIRED handling or POL-01 silent-centre days)Refs: lifecycle concurrent rule · POL-01 · INV-02Assessor conflict
Section titled “Assessor conflict”ID: TC-EV-01Given: User is an assessor at Centre AWhen: Assignment as EV for an application at Centre A is attemptedThen: Assignment rejected / preventedRefs: POL-10 · INV-05Identity gate
Section titled “Identity gate”ID: TC-ID-01Given: Application DRAFT / IN_PROGRESS; NIN not verifiedWhen: Candidate attempts submitThen: Submit blocked; remains in draft until identity verifiedRefs: Identity module · INV-01