hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

[CYPRESS]: Create a dummy connector.

Open JeevaRamu0104 opened this issue 5 months ago • 0 comments


Title: Verify Creation of Dummy Connector (Stripe Dummy)


Description:

This task involves testing the process of creating a dummy payment connector through the "Payment Processors" page. It covers the entire flow from selecting a dummy processor to setting up payment methods and ensuring that the connector is successfully created and listed under connected processors.


Test Case: Verify Creation of Dummy Connector (Stripe Dummy)

  • Pre-requisites: None
  • Steps:
    1. From the side menu, click on "Connectors."
    2. From the dropdown, click on "Payment Processors."
    3. Verify the user is redirected to the "Payment Processors" page.
    4. Click on the "Connect Now" button below the "No Test Credentials? Connect a Dummy Processor" message.
    5. A "Connect a Dummy Processor" popup should appear with four dummy connectors.
    6. Click on "Connect" under "Stripe Dummy."
    7. Verify the user is redirected to the "Connector Credentials" page.
    8. Enter the "API key" and "Connector label" and click on "Connect and Proceed."
    9. Verify the user is redirected to the "Payment Methods" page.
    10. Select the required payment methods and click on "Proceed."
    11. Verify the user is redirected to the "Summary" page with the message "Connector Created Successfully!"
    12. Click on "Done."
    13. Verify the user is redirected back to the "Payment Processors" page, and the "Stripe Dummy" connector should be present under the "Connected Processors" table.
  • Test Data:
    • API Key: dummy_api_key
    • Connector Label: "Stripe Dummy"
    • Payment Methods: Selected methods based on requirements.
  • Expected Results:
    • The user is successfully redirected to the "Payment Processors" page after clicking the "Connectors" menu item.
    • The "Connect a Dummy Processor" popup should appear with four dummy connector options.
    • Upon clicking "Connect" under "Stripe Dummy," the user should be redirected to the credentials page.
    • After entering the API key and connector label, the user should be able to proceed to the payment methods page and then to the summary page with the "Connector Created Successfully!" message.
    • Clicking "Done" should redirect the user back to the "Payment Processors" page, where "Stripe Dummy" is listed in the "Connected Processors" table.

Acceptance Criteria:

  1. The user can successfully navigate to the "Payment Processors" page.
  2. The "Connect a Dummy Processor" popup appears with four options.
  3. The "Stripe Dummy" connector can be selected, and the user can input credentials.
  4. The process completes with the correct payment methods and a success message.
  5. The "Stripe Dummy" connector appears in the "Connected Processors" table after the connector is created.

This structured approach ensures that all steps and expected outcomes for creating the dummy connector are clearly documented and ready for testing.

JeevaRamu0104 avatar Sep 16 '24 06:09 JeevaRamu0104