Write simple BDD cases for following requirement Beneficiary Address Entry: The address…
- User
Write simple BDD cases for following requirement Beneficiary Address Entry: The address entry should follow the same logic and validation as addresses elsewhere in the live application. The address format includes two fields for the address, one field for the city, and a country selector. Depending on the country selected, additional fields such as state or province field for Canada for example may be required. Follows same logic as live application All address fields (address lines, city, country, and any country-specific fields) are mandatory. The validation for ensuring all address fields are filled happens when the customer clicks "Next" on the new international beneficiary form. all other validations BAU Functionality: Upon entering a valid address and proceeding, the address should be saved along with the beneficiary’s other details. in transfer to beneficiary screen, international tab, first as pending then active.
Beneficiary Address field with country, city and street address (BAU) mandatory fields Bank Country selection
- Assistant
- Given the user is on the new international beneficiary form
- When the user enters the address fields with valid information (address lines, city, country)
- And clicks "Next"
- Then all address fields should be filled in
- And the address should be saved along with beneficiary's other details
- Given the user is on the new international beneficiary form
- When the user selects a country that requires additional fields (e.g. state/province for Canada)
- And fills in all the mandatory address fields
- And clicks "Next"
- Then the additional required field for the selected country should be displayed
- And the address should be saved along with beneficiary's other details
- Given the user is on the international tab in the transfer to beneficiary screen
- When the beneficiary's address has been saved with all mandatory fields filled in
- Then the status of the beneficiary should be shown as pending
- And upon approval, the status should change to active