hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

[CYPRESS]: Verify Time Range Filters in "Payment operations" page.

Open prajwalnl0 opened this issue 5 months ago • 3 comments


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.

Refer here for Terms and conditions for the contest.


prajwalnl0 avatar Sep 25 '24 09:09 prajwalnl0