hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

[CYPRESS] : Add Noon Connector

Open Gnanasundari24 opened this issue 1 year ago • 1 comments

Description:

This task involves adding a connector for the Noon 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:

  • Cypress is the testing framework that Hyperswitch is using to run automated tests. Having good grip on Javascript to work on Cypress is a must.
  • Please follow the README for guidelines on file structure, formatting and instructions on how to set up and run Cypress.

Steps:

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

  2. Add the card details and corresponding test case functions for Noon, following the format used in the Cybersource.js connector.

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

URL: https://integ.hyperswitch.io Username, Password: Please drop a comment requesting credentials. The Creds are only shared on request

Test Cases:

  • Add test cases only for card payments.
  • Test creds for noon https://docs.noonpayments.com/test/cards

Postman collection for reference

https://www.postman.com/altimetry-participant-63653904/hyperswitch

Note:

  • Test cases for other payment methods should be skipped.

Submission Process:

  • Ask the maintainers for assignment of the issue, you can request for assignment by commenting on the issue itself.
  • Once assigned, submit a pull request (PR).
  • Maintainers will review and provide feedback, if any.
  • Maintainers can unassign issues due to inactivity, read more here.

Refer here for Terms and conditions for the contest.

Gnanasundari24 avatar Sep 16 '24 09:09 Gnanasundari24

i forked the repo and added a test case and tried if it works on cyprus i then added more test cases for card payments these test cases include too short cvv, invalid date, invalid card number etc. pls assign it to me so i can submit my pull request. Thank you. Screenshot 2024-10-02 203837

SlaydeSequeira avatar Oct 02 '24 15:10 SlaydeSequeira

Hey @SlaydeSequeira Assigned this issue to you, thanks!

gorakhnathy7 avatar Oct 03 '24 05:10 gorakhnathy7

i created a pull request for the same issue i labeled the request #5895

SlaydeSequeira avatar Oct 04 '24 08:10 SlaydeSequeira

Hey @SlaydeSequeira Kindly link the PR to this issue.

gorakhnathy7 avatar Oct 24 '24 06:10 gorakhnathy7