juspay/hyperswitch

[CYPRESS] : Add Volt Connector

Open

#5897 aperta il 16 set 2024

Vedi su GitHub
 (4 commenti) (0 reazioni) (1 assegnatario)Rust (4676 fork)batch import
hacktoberfest

Metriche repository

Star
 (42.690 star)
Metriche merge PR
 (Merge medio 6g 22h) (213 PR mergiate in 30 g)

Descrizione

Description:

This task involves adding a connector for the Volt functionality in Cypress. For reference, similar connectors have already been implemented in the repository. You can refer to the existing connectors here: https://github.com/juspay/hyperswitch/tree/main/cypress-tests/cypress/e2e/PaymentUtils

Pre-requisites: Please follow the README for guidelines on file structure, formatting and instructions on how to set up and run Cypress.

Steps:

  1. Add the checkout connector .js files under the PaymentUtils directory: PaymentUtils Directory

  2. Add the bank redirect details and corresponding test case functions for Volt, following the format used in the Iatapay.js connector.

  3. In the Volt connector, map the test cases and statuses properly. To do this, use the below dashboard credentials where Volt is already configured, test the flows, and then assign the correct statuses.

URL: https://app.hyperswitch.io Username: Password:

Test Cases:

Note: Test cases for other payment methods should be skipped.

Guida contributor