hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

fix: Update and fix failing Postman collection tests

Open ashx98 opened this issue 1 month ago • 2 comments

Type of Change

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

Description

Updated and fixed failing postman collections in Jenkins for the below connectors .

  1. Adyen_UK
  2. Bluesnap
  3. Checkout

Additional Changes

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

Motivation and Context

How did you test it?

Ran in local and tested using Newman CLI.

Adyen_uk

image

Bluesnap

image

Checkout image

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

ashx98 avatar Nov 14 '25 07:11 ashx98

Review changes with  SemanticDiff

Changed Files
File Status
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario11-Save card flow/Save card payments - Confirm/event.test.js  34% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario12-Don't Pass CVV for save card flow and verify success payment/Save card payments - Confirm/event.test.js  34% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Confirm/event.test.js  34% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/event.test.js  34% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/event.test.js  33% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario14-Save card payment with manual capture/Payments - Create/event.test.js  33% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario9-Partial refund/Payments - Create/event.test.js  33% smaller
  postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Create/event.test.js  33% smaller
  postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/Scenario19-Create Gift Card payment/Payments - Create/request.json  0% smaller
  postman/collection-dir/adyen_uk/Flow Testcases/Variation Cases/Scenario10-Create Gift Card payment where it fails due to insufficient balance/Payments - Create/request.json  0% smaller
  postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/request.json  0% smaller
  postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Create/request.json  0% smaller
  postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario28-Create partially captured payment with refund/Payments - Create/request.json  0% smaller
  postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/request.json  0% smaller
  postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Create/request.json  0% smaller
  postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Create/request.json  0% smaller
  postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario6-Create 3DS payment/Payments - Create/request.json  0% smaller
  postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario7-Create 3DS payment with confirm false/Payments - Create/request.json  0% smaller
  postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario8-Refund full payment/Payments - Create/request.json  0% smaller
  postman/collection-dir/bluesnap/Flow Testcases/Happy Cases/Scenario9-Partial refund/Payments - Create/request.json  0% smaller
  postman/collection-dir/bluesnap/Flow Testcases/QuickStart/Payments - Create/request.json  0% smaller
  postman/collection-dir/bluesnap/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/request.json  0% smaller
  postman/collection-dir/bluesnap/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/request.json  0% smaller
  postman/collection-dir/bluesnap/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Create/request.json  0% smaller
  postman/collection-dir/bluesnap/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Create/request.json  0% smaller
  postman/collection-dir/bluesnap/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/request.json  0% smaller
  postman/collection-dir/bluesnap/Flow Testcases/Variation Cases/Scenario6-Create 3DS payment with greater capture/Payments - Create/request.json  0% smaller
  postman/collection-dir/bluesnap/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Payments - Create/request.json  0% smaller
  postman/collection-dir/bluesnap/Flow Testcases/Variation Cases/Scenario8-Refund for unsuccessful payment/Payments - Create/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario10-Multiple Captures/3DS Payment/Payments - Create/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario10-Multiple Captures/Cancel After Partial Capture/Payments - Create/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario10-Multiple Captures/Refund After Partial Capture/Payments - Create/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario10-Multiple Captures/Retrieve After Partial Capture/Payments - Create/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario10-Multiple Captures/Successful Partial Capture and Refund/Payments - Create/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario11-Save card flow/Payments - Create/event.test.js  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Create/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture with confirm false/Payments - Create/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario5-Create payment with Manual capture/Payments - Create/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario6-Create Partial Capture payment/Payments - Create/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario7-Void the payment/Payments - Create/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario8-Refund full payment/Payments - Create/event.test.js  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario8-Refund full payment/Payments - Create/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Happy Cases/Scenario9-Partial refund/Payments - Create/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/QuickStart/Payments - Create/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Create/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Create/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/event.test.js  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario6-Refund exceeds amount/Payments - Create/event.test.js  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario6-Refund exceeds amount/Payments - Create/request.json  0% smaller
  postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario6-Refund for unsuccessful payment/Payments - Create/request.json  0% smaller
  postman/collection-json/adyen_uk.postman_collection.json Unsupported file format
  postman/collection-json/bluesnap.postman_collection.json  0% smaller
  postman/collection-json/checkout.postman_collection.json Unsupported file format
  postman/collection-json/stripe.postman_collection.json Unsupported file format

semanticdiff-com[bot] avatar Nov 14 '25 07:11 semanticdiff-com[bot]

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :warning: Please upload report for BASE (main@414a8d8). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10265   +/-   ##
=======================================
  Coverage        ?    6.51%           
=======================================
  Files           ?     1232           
  Lines           ?   307374           
  Branches        ?        0           
=======================================
  Hits            ?    20014           
  Misses          ?   287360           
  Partials        ?        0           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Nov 14 '25 07:11 codecov[bot]