Step Description | Expected result |
---|---|
Go to BO > Modules > Module manager and search ps_emailalerts | The module page list should be displayed and Mail alerts module should be displayed on the list |
Click on the button at the right of the module > Choose on the list “Upgrade” option | 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 the button at the right of the module > Choose on the list “Upgrade” option | 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 back to BO > Modules > Module manager and search ps_emailalerts | The module page list should be displayed and Mail alerts 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_emailalerts succeeded.” is displayed * The module is upgraded, the button at the right of the module is displaying “Configure” |
Reload the page | The module should be: * Upgraded and displayed “Configure” 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 in the homepage and search the “POPULAR PRODUCTS” block > Click on “All products” link | The “Home” category page is displayed |
Scroll down on this page > Click on the second page of the list > Find your product created (pre-condition) with 0 on quantity > Click on it | * The product page details is displayed * The Mail alerts block should be displayed below the share buttons with: ** an empty email field ** a “Notify me when available” button |
Case 2: Upgrade without shop on maintenance Click on “Upgrade anyway” button |
* After loading, a green message “Upgrade action on module ps_emailalerts succeeded.” is displayed * The module is upgraded, the button at the right of the module is displaying “Configure” |
Reload the page | The module should be: * Upgraded and displayed “Configure” 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 in the homepage and search the “POPULAR PRODUCTS” block > Click on “All products” link | The “Home” category page is displayed |
Scroll down on this page > Click on the second page of the list > Find your product created (pre-condition) with 0 on quantity > Click on it | * The product page details is displayed * The Mail alerts block should be displayed below the share buttons with: ** an empty email field ** a “Notify me when available” button |