Step Description | Expected result |
---|---|
Go to International > Localization page | Localization page is displayed Title contains : Localization |
Go to Currencies Tab | Currencies page is displayed Title contains : Currencies |
Click on Add new currency button | New currency page is displayed Title contains ‘Currencies •’ A form is displayed |
Click on Select a currency dropdown menu | A dropdown menu is well displayed An input field inside the dropdown menu is displayed |
Type data in the input field | The dropdown list contain one result : Moroccan Dirham (MAD) |
Click on value in the dropdownlist | All field in Currencies page form are automatically filled: * Select a currency : Moroccan Dirham(MAD) * Currency name : Moroccan Dirham * ISO code : MAD * Exchange rate : 11.06 * Decimals : 2 * Status: Yes |
Click on Save button | Message displayed : “Successful creation” New Currencies page is displayed A new line is added in Currencies table contains MAD |
Go to FO and click on currency dropdown menu | The added currency is well displayed in the list |
Go back to Bo > Type value in ISO code field | Search button is enabled |
Click on Search button | First row column name contains ‘MAD’ The table title containes the number of items : Currencies (1) |
Switch the toggle switch button to off | First currency in row is disabled Message is displayed : “The status has been successfully updated.” |
Go to FO and click on currency dropdown menu | The MAD currency is not found |
Go back to BO > click Reset button | All currencies available are well displayed |
Filter currencies by ISO code > click Search button | First row column name contains ‘MAD’ |
Click on the three dots > Click on Delete button | A modal is displayed with title : Delete selection Two buttons in the modal : Cancel and Delete |
Click on Delete button in the modal | Message displayed :“Successful deletion” Table Curruncies displays : “No records found” |
Click on Reset button | All available currincies are displayed |