Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[QA] Add Cypress coverage for Affirm PayLater on Stripe #12303

@HS-QUALIBOT

Description

@HS-QUALIBOT

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions