Happy Path Scenarios
Happy Path 1 - Standard Success Flow
Simulates a generic, error-free EFT flow representing the standard end-user journey. Expected Behavior:- Standard end-user flow with no errors
- Full guarantee is offered automatically
- Flow completes successfully without retries or interruptions
- ReferenceId:
Happy1 - Username:
Happy1 - Password:
Everyday - Customer: John Doe
- Amount: $100
- Add SessionId to iFrame → Flinks consent screen displayed
- Institution Selection → User selects bank → Connection screen appears
- Standard Flinks Connect Flow → Account selection and MFA (if applicable)
- Funding Screen → User enters deposit amount
- Review Details Screen → User reviews entered information
- PAD Agreement Screen → Custom Pre-Authorized Debit consent for user signature
Happy Path 2 - Next Best Offer Flow
Simulates a scenario where the user cannot move the initially requested amount but receives a next-best-offer (reduced amount). Expected Behavior:- End-user flow proceeds without errors
- Next-best-offer displayed when original funding amount cannot be processed
- Full guarantee still offered after accepting new amount
- ReferenceId:
Happy2 - Username:
Happy2 - Password:
Everyday - Customer: Steve Diamond
- Amount: $1,000
Happy Path 3 - French Language Flow
Tests French language interface for Quebec users. Expected Behavior:- Flow displayed in French
- All messaging and UI elements in French
- Standard successful completion
- ReferenceId:
Happy3 - Username:
Happy3 - Password:
Everyday - Customer: Alex Rider (Quebec)
Unhappy Path Scenarios
Unhappy Path 1 - Guarantee Failure
Simulates scenario where guarantee cannot be provided. Expected Behavior:- User completes authentication and account connection
- Guarantee evaluation fails
GUARANTEE_FAILEDevent fired- User must use alternative payment method
- ReferenceId:
Unhappy1 - Username:
Unhappy1 - Password:
Everyday - Customer: Joe Fails
- Expected Status:
FailedwithEFT0402(Eligibility Failed)
Interactive Test Scenarios
Refuse Next Best Offer (NBO)
- Use Happy2 scenario to trigger NBO
- When NBO screen appears, click “Other funding options”
- Expect
COMPONENT_OTHER_FUNDING_OPTIONS_SELECTEDevent - Handle return to your application
Accept NBO but Refuse PAD Agreement
- Use Happy2 scenario to trigger NBO
- Accept the reduced amount
- When PAD agreement appears, reject it
- Expect
COMPONENT_PAD_REJECTEDevent - Handle payment method alternatives
Cancel on Deposit Screen
- Start any Happy scenario
- Reach deposit amount screen
- Cancel/close the flow
- Expect
CLOSEevent - Handle user cancellation gracefully
Name Mismatch Error
- Create session with incorrect firstName/lastName
- Use correct test credentials in flow
- Expect identity validation failure
- Status should be Failed with EFT0403
Testing Each Scenario
For each test scenario:- Create session using the provided session request JSON
- Launch widget with the returned sessionId
- Enter credentials using the specified username/password
- Follow the expected flow and verify expected behavior
- Monitor events to ensure proper event handling
- Check final status using the /sessions/status endpoint
Next Steps
- Testing Best Practices: Implement automated testing
- Production Readiness: Verify you’re ready to go live
- Event Handling: Understanding widget events