hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

ci(cypress): Trustpay collection fix

Open likhinbopanna opened this issue 1 year ago • 0 comments

Type of Change

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

Description

Fixed manual capture flow for Trustpay collection in cypress tool as manual capture is not supported for Trustpay and I've fixed the assertion since Trustpay and Bluesnap don't support mandates

Additional Changes

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

Motivation and Context

Trustpay and bluesnap collections were failing in cypress automation

How did you test it?

  • Trustpay collection Untitled

image

  • Bluesnap collection image [NOTE : 1 failure case is redirection flow ]

  • Stripe collection stripetest

Checklist

  • [ ] I formatted the code cargo +nightly fmt --all
  • [ ] I addressed lints thrown by cargo clippy
  • [x] I reviewed the submitted code
  • [ ] I added unit tests for my changes where possible
  • [ ] I added a CHANGELOG entry if applicable

likhinbopanna avatar Apr 22 '24 08:04 likhinbopanna