hyperswitch
hyperswitch copied to clipboard
ci(cypress): Trustpay collection fix
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
-
Bluesnap collection
[NOTE : 1 failure case is redirection flow ]
-
Stripe collection
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