hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

ci(cypress): Add bank redirect cypress test cases

Open tsdk02 opened this issue 1 year ago • 0 comments

Type of Change

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

Description

Added test scenarios for Bank Redirect method for Trustpay for the following payment methods:

  • Ideal
  • Giropay

Additional Changes

  • [ ] This PR modifies the API contract
  • [ ] This PR modifies the database schema
  • [ ] This PR modifies application configuration/environment variables

Motivation and Context

To increase coverage of testing for Bank Redirect Methods for various connectors.

How did you test it?

Wrote Cypress test scenarios for paymentIntent creation, paymentConfirmation, and handleRedirection for the above mentioned bank redirect payment methods for Trustpay. Screenshot 2024-04-30 at 6 42 55 PM Screenshot 2024-04-30 at 6 43 25 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

tsdk02 avatar Apr 30 '24 13:04 tsdk02