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 Time Range Filters in "Payment operations" page. #6129

Open
Tracked by #1374
prajwalnl0 opened this issue Sep 25, 2024 · 9 comments · May be fixed by juspay/hyperswitch-control-center#1658
Open
Tracked by #1374
Assignees
Labels
E-easy Effort: Should be easy to implement and would make a good first PR 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 Time Range Filters in "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 Time Range Filters

  • Pre-requisites: Make a payment.
  • Steps:
    1. Login to the application.
    2. Navigate to the "Payment Operations" page.
    3. Verify the default time range is "Last 30 Days."
    4. Click on the time range dropdown and select various options: "Last 30 Mins," "Last 1 Hour," "Last 2 Hours," etc.
  • Expected Results:
    • For each selected time range, verify the payments are displayed accordingly.
    • "Customize columns" button visibility should be checked based on the presence of payments.

Test Case 2: Verify "Custom Range" in Time Range Filters

  • Pre-requisites: Make a payment.
  • Steps:
    1. Login to the application.
    2. Navigate to the "Payment Operations" page.
    3. Select "Custom Range" in the time range dropdown.
    4. Select a custom date range and click "Apply."
  • Expected Results:
    • Payments within the selected range should be displayed.
    • The selected time range should be displayed when the dropdown is minimized.

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-easy Effort: Should be easy to implement and would make a good first PR labels Sep 25, 2024
@gorakhnathy7 gorakhnathy7 transferred this issue from juspay/hyperswitch-control-center Sep 26, 2024
@s-vamshi
Copy link

@prajwalnl0 @gorakhnathy7 I would like to work on this. Can you assign it to me?

@gorakhnathy7
Copy link
Collaborator

gorakhnathy7 commented Sep 28, 2024

Hey @s-vamshi , i am assigning another issue to you, which is a pre-requisite for this one.

@Ankesh2004
Copy link
Contributor

Hi @gorakhnathy7 , could you assign me this issue

@Akshayp02
Copy link

Hello @gorakhnathy7 ,

I would like to contribute to this issue. Could you please assign it to me.

@gorakhnathy7
Copy link
Collaborator

Hey @Akshayp02 Assigning this issue to you!

Hey @Ankesh2004 Kindly request assignment for one issue at a time.
You can ask for the next issue to be assigned, once you have completed the earlier assigned one.

@s-vamshi
Copy link

Hey @gorakhnathy7 can I work on this issue?

@gorakhnathy7
Copy link
Collaborator

Hey @Akshayp02,

Kindly let us know, if you're still working on the issue? Else, we can assign it to some one else.

@s-vamshi
Copy link

Hey @gorakhnathy7, just following up since it’s been a day with no response from @Akshayp02. I’d love to work on this issue if it's available!

@gorakhnathy7
Copy link
Collaborator

Sure @s-vamshi , Assigning this to you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Effort: Should be easy to implement and would make a good first PR 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