Step Description | Expected result |
---|---|
Go to BO > Modules > Module manager and search ps_cashondelivery | The module page list should be displayed and Cash on delivery (COD) module should be displayed on the list |
Click on “Upgrade” button at the right of the module | A modal is open with: * Title: “Are you sure you want to upgrade this module?" * Description: “We strongly advise you to upgrade the modules on maintenance mode to avoid any cache issues." * 3 buttons: “Cancel” / “Go to maintenance page” / “Upgrade anyway” |
Click on “Cancel” button or the cross on top right or outside | * The modal is removed * The module list page is displayed |
Click on “Upgrade” button at the right of the module | The modal is open again with the same informations (Title / Description / 3 buttons) |
Case 1: Upgrade with shop on maintenance Click on “Go to maintenance page” button |
The “Maintenance” page is displayed |
Set to “No” the “Enable store” switch button > Click on “Save” button | * A “Successful update” message is displayed * “Enable store” is set to “No” and grey * A “Maintenance mode” link is displayed on the header of the store |
Click on “View my shop” link in the header > Click on the new tab | The new tab is displayed the FO of the shop with the maintenance page |
Go to BO > Modules > Module manager and search ps_cashondelivery | The module page list should be displayed and Cash on delivery (COD) module should be displayed on the list |
Click on “Upgrade” button at the right of the module | A modal is open with: * Title: “Are you sure you want to upgrade this module?" * 2 buttons: “Cancel” / “Upgrade” |
Click on “Cancel” button or the cross on top right | * The modal is removed * The module list page is displayed |
Click on “Upgrade” button at the right of the module | The modal is open again with the same informations (Title / 2 buttons) |
Click on “Upgrade” button in the modal | * After loading, a green message “Upgrade action on module ps_cashondelivery succeeded.” is displayed * The module is upgraded, the button at the right of the module is displaying “Disable Mobile” |
Reload the page | The module should be: * Upgraded and displayed “Disable Mobile” in the right button * Displayed the latest version instead of the current to the new version * Removed the green tag “Upgrade available” |
Click on “Maintenance mode” link on the header | The “Maintenance” page is displayed |
Set to “Yes” the “Enable store” switch button > Click on “Save” button | * A “Successful update” message is displayed * “Enable store” is set to “Yes” and green * The “Maintenance mode” link is removed from the header of the store |
Go back to the FO > Reload the page | Homepage is well displayed |
Scroll down on the page > Choose a product by clicking on “Quickview” > Click on “Add to cart” button on the product modal > Click on “Proceed to checkout” button on shopping cart modal | The Shopping cart page is well displayed with your product on it |
Click on “Proceed to checkout” button on shopping cart page > Click on “Sign in” tab in “Personal information” step > Fill the form > Click on “Continue” button | * You are logged in * The “Addresses” step is well displayed |
Choose an address > Click on “Continue” button | The “Shipping method” step is well displayed |
Choose a carrier > Click on “Continue” button | * The “Payment” step is well displayed * The “Pay by Cash on Delivery” radio is well displayed with other payments |
Case 2: Upgrade without shop on maintenance Click on “Upgrade anyway” button |
* After loading, a green message “Upgrade action on module ps_cashondelivery succeeded.” is displayed * The module is upgraded, the button at the right of the module is displaying “Disable Mobile” |
Reload the page | The module should be: * Upgraded and displayed “Disable Mobile” in the right button * Displayed the latest version instead of the current to the new version * Removed the green tag “Upgrade available” |
Click on “View my shop” link in the header > Click on the new tab | The new tab is displayed the FO of the shop with the homepage |
Scroll down on the page > Choose a product by clicking on “Quickview” > Click on “Add to cart” button on the product modal > Click on “Proceed to checkout” button on shopping cart modal | The Shopping cart page is well displayed with your product on it |
Click on “Proceed to checkout” button on shopping cart page > Click on “Sign in” tab in “Personal information” step > Fill the form > Click on “Continue” button | * You are logged in * The “Addresses” step is well displayed |
Choose an address > Click on “Continue” button | The “Shipping method” step is well displayed |
Choose a carrier > Click on “Continue” button | * The “Payment” step is well displayed * The “Pay by Cash on Delivery” radio is well displayed with other payments |