Skip to content

[QA] Add Cypress coverage for Stripe Wallet tests on stripe #12567

@HS-QUALIBOT

Description

@HS-QUALIBOT

Summary

Add Cypress test coverage for Stripe wallet payment methods in the 19-Wallet.cy.js spec file.

Description

This issue tracks the addition of automated tests for Stripe wallet integrations including AliPay, AmazonPay, Cashapp, RevolutPay, and WeChatPay. These tests cover both payment flows and mandate flows where applicable.

Test Coverage Added

  • AliPay: Payment flow test
  • AmazonPay: Payment flow test + Mandate flow test
  • Cashapp: Payment flow test + Mandate flow test
  • RevolutPay: Payment flow test + Mandate flow test
  • WeChatPay: Payment flow test

Changes Made

  1. cypress-tests/cypress/e2e/configs/Payment/Utils.js: Added STRIPE_WALLET inclusion list
  2. cypress-tests/cypress/e2e/configs/Payment/Stripe.js: Added wallet_pm configuration section with configs for all wallet types
  3. cypress-tests/cypress/e2e/spec/Payment/19-Wallet.cy.js: Added 8 test contexts for Stripe wallet payment methods

Verification

  • Total tests in 19-Wallet.cy.js spec: 33
  • Stripe wallet tests passed: 7
  • Tests skipped: 26 (non-Stripe wallet methods)
  • Overall status: PASS

Related

  • Pipeline parent issue: A-94
  • Original requirement: A-83

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions