Skip to content

ci(cypress): Add Airwallex Connector Test#8187

Merged
Gnanasundari24 merged 9 commits intomainfrom
airwallex-test
Jun 6, 2025
Merged

ci(cypress): Add Airwallex Connector Test#8187
Gnanasundari24 merged 9 commits intomainfrom
airwallex-test

Conversation

@Gnanasundari24
Copy link
Contributor

@Gnanasundari24 Gnanasundari24 commented May 30, 2025

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

1.Enhanced Airwallex Connector in cypress for Comprehensive Testing
2.Fixed the connector_mandate_id expectation for mandates:
Due to fallback they connector_mandate_id is based on the the request of setup_future_usage. In this PR i have modified based on the reponse.setup_future_usage.

Motivation and Context

These enhancements improve test coverage and reliability for the Airwallex connector, ensuring that all payment flows are properly tested and verified.

How did you test it?

Screenshot 2025-05-30 at 4 52 40 PM 1.Refund 1scenario was failing due to service unavailable. Ran the test again for refund and provided the screenshot below. 2.Another 1 scenario is failing in dynamic field due to payment_method is empty in PML if the billing address is not present. Its a issue needs to be fixed. Screenshot 2025-05-30 at 4 58 49 PM

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible

@Gnanasundari24 Gnanasundari24 requested a review from a team as a code owner May 30, 2025 11:33
@semanticdiff-com
Copy link

semanticdiff-com bot commented May 30, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  cypress-tests/cypress/support/commands.js  30% smaller
  cypress-tests/cypress/e2e/configs/Payment/Airwallex.js  0% smaller
  cypress-tests/cypress/e2e/configs/Payment/Utils.js  0% smaller
  cypress-tests/cypress/support/redirectionHandler.js  0% smaller

@Gnanasundari24 Gnanasundari24 self-assigned this May 30, 2025
@Gnanasundari24 Gnanasundari24 added A-CI-CD Area: Continuous Integration/Deployment C-test Category: Tests labels May 30, 2025
@Gnanasundari24 Gnanasundari24 added this to the May 2025 Release milestone May 30, 2025
likhinbopanna
likhinbopanna previously approved these changes Jun 2, 2025
likhinbopanna
likhinbopanna previously approved these changes Jun 2, 2025
pixincreate
pixincreate previously approved these changes Jun 2, 2025
@likhinbopanna likhinbopanna enabled auto-merge June 2, 2025 17:07
@Gnanasundari24 Gnanasundari24 disabled auto-merge June 3, 2025 07:01
@Gnanasundari24 Gnanasundari24 enabled auto-merge June 3, 2025 07:01
likhinbopanna
likhinbopanna previously approved these changes Jun 3, 2025
pixincreate
pixincreate previously approved these changes Jun 3, 2025
Comment on lines +545 to +547
cy.origin(
currentOrigin,
{ args: { constants } },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nested origins work here!?

@Gnanasundari24 Gnanasundari24 added this pull request to the merge queue Jun 6, 2025
Merged via the queue into main with commit 01ef084 Jun 6, 2025
15 of 20 checks passed
@Gnanasundari24 Gnanasundari24 deleted the airwallex-test branch June 6, 2025 12:34
pixincreate added a commit that referenced this pull request Jun 9, 2025
…nktransfer

* 'main' of github.com:juspay/hyperswitch: (211 commits)
  feat(tokenio): Add OpenBanking Redirection Flow (#8152)
  fix: Unified scarf setup (#8238)
  feat(health): Health check for Decision engine (#8243)
  chore: Update apple pay currency filter configs (#8217)
  refactor(customers_v2): Remove merchant reference id from v2 customer update (#7879)
  chore(version): 2025.06.09.0
  chore(postman): update Postman collection files
  ci(postman): add tunnel collection to postman tests (#8269)
  feat(connector): Added recurring payments support for split payments in Stripe (#8271)
  feat(connector): [STRIPE] Added Connector Tokenization Flow for Cards (#8248)
  refactor(core): introduce new field in payment_intent to handle longer return_url (#8135)
  fix(connector): [AUTHORIZEDOTNET] Remove country PM filters (#8278)
  refactor(config): redact config urls for hyperswitch vault (#8276)
  feat(vsaas): enable onboarding of Standard Merchant Accounts in Platform Organization (#8231)
  feat(router): add three_ds decision rule execute api (#8148)
  feat(router): Save payment method on payments confirm (V2) (#8090)
  ci(cypress): Add Airwallex Connector Test (#8187)
  feat(payment_methods): add `external_vault_details` for payments v2 sdk session call (#8003)
  fix(connector): [facilitapay] cpf is a required field (#8274)
  fix: Fixed spell check (#8227)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CI-CD Area: Continuous Integration/Deployment C-test Category: Tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants