Description
Add Cypress test coverage for the Affirm pay-later payment method on the Stripe connector. This covers both auto-capture and manual-capture happy paths, plus negative-case scenarios (invalid currency, missing shipping address, etc.).
Context
The PayLater spec (43-PayLater.cy.js) previously lacked Affirm coverage. This change:
- Adds Affirm Auto Capture and Manual Capture test contexts to
43-PayLater.cy.js
- Registers the Affirm config key in
Stripe.js under pay_later_pm
- Adds the
Affirm: USD currency mapping in Modifiers.js
Runner Results
RUNNER_RESULT:
Connector: stripe
SpecFile: cypress/e2e/spec/Payment/43-PayLater.cy.js
PrereqsUsed: spec/Payment/01-,02-,03-
TotalTests: 9
Passed: 9
Failed: 0
Skipped: 0
OverallStatus: PASS
All 9 tests passed on Stripe (the target connector). Stripe full regression is handled automatically by CI.
Parent Issue
QAA-287
Description
Add Cypress test coverage for the Affirm pay-later payment method on the Stripe connector. This covers both auto-capture and manual-capture happy paths, plus negative-case scenarios (invalid currency, missing shipping address, etc.).
Context
The PayLater spec (
43-PayLater.cy.js) previously lacked Affirm coverage. This change:43-PayLater.cy.jsStripe.jsunderpay_later_pmAffirm: USDcurrency mapping inModifiers.jsRunner Results
All 9 tests passed on Stripe (the target connector). Stripe full regression is handled automatically by CI.
Parent Issue
QAA-287