Skip to content
TheChatArchiveThe Chat Archive
gpt-4o-mini-2024-07-18· OpenAIAi2 WildChat-4.8M (AI2)

Write BDD cases for following requirement Acceptance Criteria (e): As a MOB user doing…

  1. 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.

  2. 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 disappear
    

    Explanation:

    1. Feature: Describes the higher-level functionality being tested—in this case, the behavior of the Conversion Result Section during an international transfer.

    2. Scenarios: Each scenario outlines a different condition where the Conversion Result Section should disappear based on modifications to the user's input.

    3. Given: Establishes the context or preconditions, such as being a MOB user and the beneficiary selected.

    4. When: Describes the action taken by the user, such as clicking on the "CONVERT" button.

    5. 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.