hyperswitch
hyperswitch copied to clipboard
[CYPRESS]: Verify Search in "Payment operations" page.
Title: Verify Search 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: Search for Payment Using Existing Payment ID
- Pre-requisites: Make a payment.
-
Steps:
- Login to the application.
- Navigate to the "Payment Operations" page.
- Enter an existing payment ID into the search bar.
- Test Data: {{payment_id}}
-
Expected Results:
- Payments table should contain one row with valid payment details.
Test Case 2: Search for Payment Using Invalid Payment ID
- Pre-requisites: User is logged in.
-
Steps:
- Navigate to the "Payment Operations" page.
- Enter an invalid payment ID or string into the search bar.
- Test Data: "abacd," "something," "createdAt"
-
Expected Results:
- "There are no payments as of now" text should be displayed.
- "Customize columns" button should not be present.
Acceptance Criteria:
- All test cases should pass with the expected results.
- Each test case must verify the required functionality or UI element.
- 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.