Write BDD cases for following requirement Acceptance Criteria (e): As a MOB user doing…
- User
Write BDD cases for following requirement Acceptance Criteria (e): As a MOB user doing an international transfer to [Beneficiary B] or [Beneficiary A], when I click on CONVERT to see the Conversion Result Section and modified my Source Account selection, then Conversion Result Section should disappear.
As a MOB user doing an international transfer to [Beneficiary B] or [Beneficiary A], when I click on CONVERT to see the Conversion Result Section and modified my Currency selection, then Conversion Result Section should disappear.
As a MOB user doing an international transfer to [Beneficiary B] or [Beneficiary A], when I click on CONVERT to see the Conversion Result Section and modified my amount value, then Conversion Result Section should disappear.
As a MOB user doing an international transfer to [Beneficiary B] or [Beneficiary A], when I click on CONVERT to see the Conversion Result Section and modified my Charges To Be Paid By selection, then Conversion Result Section should disappear.
- Assistant
Here are the Behavior-Driven Development (BDD) cases for the provided acceptance criteria:
Feature: International Transfer Conversion Result Section Scenario: Conversion Result Section disappears when Source Account is modified Given I am a MOB user And I am doing an international transfer to "Beneficiary B" When I click on "CONVERT" to see the Conversion Result Section And I modify my Source Account selection Then the Conversion Result Section should disappear Scenario: Conversion Result Section disappears when Currency is modified Given I am a MOB user And I am doing an international transfer to "Beneficiary A" When I click on "CONVERT" to see the Conversion Result Section And I modify my Currency selection Then the Conversion Result Section should disappear Scenario: Conversion Result Section disappears when Amount value is modified Given I am a MOB user And I am doing an international transfer to "Beneficiary B" When I click on "CONVERT" to see the Conversion Result Section And I modify my Amount value Then the Conversion Result Section should disappear Scenario: Conversion Result Section disappears when Charges To Be Paid By selection is modified Given I am a MOB user And I am doing an international transfer to "Beneficiary A" When I click on "CONVERT" to see the Conversion Result Section And I modify my Charges To Be Paid By selection Then the Conversion Result Section should disappearExplanation:
-
Feature: Describes the higher-level functionality being tested—in this case, the behavior of the Conversion Result Section during an international transfer.
-
Scenarios: Each scenario outlines a different condition where the Conversion Result Section should disappear based on modifications to the user's input.
-
Given: Establishes the context or preconditions, such as being a MOB user and the beneficiary selected.
-
When: Describes the action taken by the user, such as clicking on the "CONVERT" button.
-
Then: Defines the expected outcome from the user's action, which in all scenarios is the disappearance of the Conversion Result Section.
Each scenario is structured to be clear and concise, allowing for straightforward understanding and testing of the requirements.
-