Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CYPRESS]: Verify "Payment operations" page. #6133

Open
Tracked by #1374
prajwalnl0 opened this issue Sep 25, 2024 · 8 comments · May be fixed by juspay/hyperswitch-control-center#1554 or #6203
Open
Tracked by #1374

[CYPRESS]: Verify "Payment operations" page. #6133

prajwalnl0 opened this issue Sep 25, 2024 · 8 comments · May be fixed by juspay/hyperswitch-control-center#1554 or #6203
Assignees
Labels
E-medium Effort: Requires a fair amount of work good first issue Good for newcomers hacktoberfest Issues that are up for grabs for Hacktoberfest participants help wanted Extra attention is needed javascript

Comments

@prajwalnl0
Copy link

prajwalnl0 commented Sep 25, 2024


Title: Verify "Payment operations" page.


Description:

This task is to write and execute automated test cases for various UI elements and functionalities on the "Payment Operations" page. The tests should validate that key UI elements are present and that core functionalities operate as expected.

Objective:

Ensure that the "Payment Operations" page displays all key elements and that interactions like searching, filtering, and report generation work as intended. The task will include multiple test cases covering these areas.

Pre-requisites:

Create a dummy connector
Use the SDK to process a payment


Test Cases:

Test Case 1: Verify Default Elements on "Payment Operations" Page

  • Pre-requisites: User must be logged in.
  • Steps:
    1. Navigate to the "Payment Operations" page using the side menu.
    2. Verify the search box is present with the placeholder "Search payment id."
    3. Verify the dropdown to select the time range is present.
    4. Verify the "Add Filters" button is present and visible.
    5. Verify the "Generate reports" button is present and visible.
    6. Verify the "Customize columns" button is present and visible.
  • Expected Results:
    • Redirects to "Payment Operations" page.
    • Search box should be present with placeholder "Search payment id."
    • Dropdown should be visible.
    • "Add Filters" button should be present and visible.
    • "Generate reports" button should be present and visible.
    • "Customize columns" button should be present and visible.

Test Case 2: Verify Payments Displayed

  • Pre-requisites: Make 3 payments.
  • Steps:
    1. Login to the application.
    2. Navigate to the "Payment Operations" page.
  • Expected Results:
    • 3 payments should be present in the table with valid payment details.
    • The table should contain the following columns:
      • S.No
      • Payment ID
      • Connector
      • Connector Transaction ID
      • Amount
      • Payment Status
      • Payment Method
      • Payment Method Type
      • Card Network
      • Customer Email
      • Merchant Order Reference Id
      • Description
      • Metadata
      • Created

Acceptance Criteria:

  1. All test cases should pass with the expected results.
  2. Each test case must verify the required functionality or UI element.
  3. The tests should be included in the regression suite and executed in the CI/CD pipeline.

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.
  • For this issue, please submit a PR on juspay/hyperswitch-control-center repo, and link it to the issue.

Refer here for Terms and conditions for the contest.


@prajwalnl0 prajwalnl0 added the good first issue Good for newcomers label Sep 25, 2024
@prajwalnl0 prajwalnl0 added hacktoberfest Issues that are up for grabs for Hacktoberfest participants help wanted Extra attention is needed javascript E-medium Effort: Requires a fair amount of work labels Sep 25, 2024
@gorakhnathy7 gorakhnathy7 transferred this issue from juspay/hyperswitch-control-center Sep 26, 2024
@shreyT19
Copy link

shreyT19 commented Oct 1, 2024

Hey i would like to work on this issue

@gorakhnathy7
Copy link
Collaborator

Hey @shreyT19 Assigning this to you!

@shreyT19
Copy link

shreyT19 commented Oct 2, 2024

Hey @gorakhnathy7 I was wondering where I should post any doubts or questions. Should I share them here, or would it be better to include them in a PR where I can also add questions or reviews? Let me know what works best!

@gorakhnathy7
Copy link
Collaborator

You can use any platform you're comfortable with.
I would suggested asking the queries in the discord, and do link the issue.
Thanks!

@shreyT19 shreyT19 linked a pull request Oct 3, 2024 that will close this issue
14 tasks
@pixincreate
Copy link
Member

@prajwalnl0, is this the right repo for this? asking so because the changes done in the pr seems to be of control center and not backend.

@gorakhnathy7
Copy link
Collaborator

gorakhnathy7 commented Oct 4, 2024

Hey @shreyT19 @pixincreate Slight correction here, As this issue corresponds to the juspay/hyperswitch-control-center repo, Can we please raise the PR on that repo, and link it to the issue.

Updated the issue description as well. Thanks and apologies for inconvenience!

@shreyT19
Copy link

shreyT19 commented Oct 9, 2024

Hey @gorakhnathy7, could you please review the PR ?

@JeevaRamu0104
Copy link
Contributor

Hi @shreyT19 there are dependent PRs on this PR. Once they are resolved, we will review it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-medium Effort: Requires a fair amount of work good first issue Good for newcomers hacktoberfest Issues that are up for grabs for Hacktoberfest participants help wanted Extra attention is needed javascript
Projects
None yet
5 participants