Write BDD cases for below requirement i simple english Access Transaction History: The…
- User
Write BDD cases for below requirement i simple english Access Transaction History: The customer accesses their transaction history from designated entry points as described in the transaction history user story. View received Transactions: In the transaction history, under "Money In" the customer views the history specific to that section, following the format outlined in the transaction history user story. Initiate Return Payment: For successfully credited transactions, the customer has the option to initiate a return payment. The customer selects the specific transaction and will have see a button on the side to display the details of the transaction. If the beneficiary decided to initiate the return payment, he will select the button "return payment" at the button of the screen. The customer will be redirected to a confirmation page where he will need to enter an OTP, after selecting 'verify', and the customer receives a notification that the return payment has been successfully initiated. The option to return the full amount will only be available within 24 hours after of it being credited by the sender.
If time window for return payment runs out please ensure that customer is aware/ notified.
- Assistant
Feature: Transaction History
Scenario: Access Transaction History Given the customer is logged in When the customer accesses their transaction history Then they should be able to view their transaction history from designated entry points as described in the user story
Scenario: View received Transactions Given the customer is viewing their transaction history When the customer navigates to the "Money In" section Then they should be able to view the history specific to that section, following the format outlined in the user story
Scenario: Initiate Return Payment within 24 hours Given the customer is viewing a successfully credited transaction When the customer selects the specific transaction And clicks on the "return payment" button Then the customer should be redirected to a confirmation page And asked to enter an OTP When the customer verifies the OTP Then a notification should be displayed confirming that the return payment has been successfully initiated
Scenario: Return Payment time window runs out Given the customer initiated a return payment for a credited transaction And the 24-hour window for return payment has expired When the customer tries to initiate a return payment Then they should be notified that the option is no longer available