hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

[CYPRESS] Add e2e test for PayPal wallet (redirection flow) payment method for PayPal Connector

Open Sanskar2001 opened this issue 1 year ago • 5 comments

The Hyperswitch SDK is a versatile tool built to streamline payment integration for developers. It simplifies the process of adding multiple payment methods, allowing you to quickly implement support for various gateways without the need to manually integrate each one. With Hyperswitch, you can efficiently manage payments across platforms, reducing complexity and boosting development speed.

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

Description:

This task involves adding a cypress e2e test for PayPal wallet (redirection flow) for PayPal Connector.

🔨 Possible Implementation Locate the element for this payment method, perform the click action on it and assert whether redirection happens success.

Contribution Guidelines:

  • Fork the repository and create a new branch for your work.
  • Ensure the WebSDK follows best practices for API integration and field rendering.
  • Write clean, well-documented code with clear commit messages.
  • Make sure to follow our coding standards and contribution guidelines.

Helpful Resources:

If you have any questions or need help getting started, feel free to ask in the comments!

🔖 Note: Once assigned, please drop a mail for required credentials at [email protected]

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.

Sanskar2001 avatar Sep 24 '24 15:09 Sanskar2001

Hey @Sanskar2001 @gorakhnathy7 can you please assign me the issue?

CODEX108 avatar Oct 01 '24 19:10 CODEX108

Hey @CODEX108 Assigned the issue to you! Thanks for your interest!

gorakhnathy7 avatar Oct 02 '24 09:10 gorakhnathy7

Hello @gorakhnathy7 thank you for assigning the issue! I have a quick question regarding the E2E test setup for the PayPal wallet (redirection flow) payment method. Should I be writing the tests in the cypress/e2e folder? Could you also clarify the exact folder where I should place the test cases? Updates :

  1. I've also mailed for the credentials and partially done with the setup.

Thanks in advance!

CODEX108 avatar Oct 02 '24 19:10 CODEX108

Hi @CODEX108 Yes, you need to place your tests in cypress/e2e folder, basically your tests should be placed here https://github.com/juspay/hyperswitch-web/tree/main/cypress-tests/cypress/e2e.

You only need payments-create body, publishable key and secret key to complete this task. The credentials will be shared with you over mail.

Sanskar2001 avatar Oct 03 '24 14:10 Sanskar2001

Okay Thank you!

CODEX108 avatar Oct 03 '24 15:10 CODEX108

Hey @CODEX108

gorakhnathy7 avatar Oct 04 '24 08:10 gorakhnathy7

Hey @CODEX108 ,

Quick check-in on the status of this issue. If you have any questions or need assistance, feel free to reach out in the community.

gorakhnathy7 avatar Oct 06 '24 06:10 gorakhnathy7

Hey @CODEX108 ,

Quick check-in on the status of this issue. If you have any questions or need assistance, feel free to reach out in the community.

Yes I've asked about the issue on dev-support,since there are a few errors while running the app.

CODEX108 avatar Oct 06 '24 08:10 CODEX108

Hey @CODEX108

Kindly let us know, if you're still working on the issue?

gorakhnathy7 avatar Oct 24 '24 06:10 gorakhnathy7

Hey please unassign the PR, I wasn't able to complete the task successfully.

On Thu, Oct 24, 2024 at 12:23 PM GORAKHNATH YADAV @.***> wrote:

Hey @CODEX108 https://github.com/CODEX108

Kindly let us know, if you're still working on the issue?

— Reply to this email directly, view it on GitHub https://github.com/juspay/hyperswitch/issues/6044#issuecomment-2434446262, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATUPYUVYXRKS73PK7WDHHLTZ5CKP3AVCNFSM6AAAAABO3H6J3OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZUGQ2DMMRWGI . You are receiving this because you were mentioned.Message ID: @.***>

CODEX108 avatar Oct 25 '24 08:10 CODEX108

Sure @CODEX108, if possible kindly reach out in the community for us to help in any way.

gorakhnathy7 avatar Oct 25 '24 09:10 gorakhnathy7

Hi! I'd like to work on this issue as a beginner contributor. Please assign it to me if possible.

AKC4112002 avatar Jun 28 '25 13:06 AKC4112002