Autoupgrade - Verify the New UI (it'll be change)

Details

Steps

Step Description Expected result
Install A fresh 8.1.5 You should have the selection of where in your shop you want to go ( BO or FO )
Go to the BO You should have your dashboard showed
Go to the Module Manager " page" Module Manager page is displayed correctly
Search for the 1-click Install" module. Install it" Module is correctly installed
Go to the General Parameters > Maintenance" page. Put the shop in maintenance mode" Maintenance page is displayed correctly. Maintenance mode is activated
Set your “Maintenance IP” by clicking the button “+ Add my IP” and clic on “Save” button Your IP should be setted on the field and you will have the green notification
* Go to the 1-Click Upgrade page * You should see the configuration page of the module
* Open a terminal in your folder [yourshop]/modules/autoupgrade
* launch the command : 
{code:java}
cd _dev{code}

* Launch the command :
{code:java}
npm install{code}

* Launch the command :
{code:java}
npm run vite:build{code}

* Launch the command :
{code:java}
cd ..{code}

* Launch the command :
{code:java}
composer install{code}
* A terminal is open in the right folder 
* You should be in the folder [yourshop]/modules/autoupgrade/_dev
* Npm should be installed in your folder with this last word : “Run npm audit for details."
* The terminal should say some files have been modified 
* You should return on the folder [yourshop]/modules/autoupgrade/
* You terminal will say “Nothing to install, update or remove”
* Return on the “Updrate Assistant” page 
* At the end of the link, add :
&new-ui=1&route=home-page
* You should see the configuration page of the module
* You should be in the new UI page with :
** the title “Welcome to PrestaShop Update Assistant”
** Two radio button with : Update your store and Restore from a backup 
** Radio button with the Restore should be disabled except if you have a backup 
** A button “Get started” disabled
Clic on the radio button next to “Update your store” * Your radio button should be checked 
* the button “Get starder” should be Enabled
Click on the button “Get started” * You should be on a new page named “Version choice”
* In the page, it should be : 

*
**  a paragraph with “A more recent version is available / Current PrestaShop version: 8.1.5 / Current PHP version: [your php version]

*
** Two radio button with : “Prestashop [last major/minor version]” and “Local Archive”
*** if you don’t have a local archive set, you didn’t have a radio button and you should have a blue notification with " Unlock the local update feature and manually update your store to your preferred upgrade by saving the archive and XML files of the PrestaShop version in the following directory on your server: /your-admin-directory/autoupgrade/download/" **
** A button named “Next” disabled
* Clic on the Radio button next to “Prestashop [last version]"
* The check is finished
* the checking requirement should be launched
* You should have all maube some warning and the button “Next” should be enabled
* Clic on the “Next” Button * You should be on the “Update option” page with : 
** 3 checkbox named " Deactivate non-native modules “,  “Regenerate email templates” , " Disable all overrides "  with details about them under there name 
** “Next” Button enabled
Clic on the “Next” Button * You should be on the “Back up your store” page with : 
** sub title “Backing up your store’s files, database, and images means you can restore to a previous version if something goes wrong during the update. This keeps your data safe and ensures your business stays up and running."
** Checkboxe : “Include images in your backup”
** 2 buttons : “Update without backup” and “launch backup”
Click on “Launch Backup” You should have a modal with 
* title : " Start backup? “
* Sub title : “Your files, database, and images will be backed up."
* 2 button : “Cancel” and " Start Backup
Click on the cross or elsewhere the module The modal should be close and you ’ll be on the page “Back up your store”
Click on “Update without backup” You should have a modal with 
* title : " Start update? “
* Sub title : “Before starting the update, make sure you have a complete and recent backup of your store (database, files, and images)."
* a Check box : “I have made my own backup and can restore it manually if a problem occur."
* 2 button : “Cancel” and " Start update”, the last one is disabled
* Click on the checkbox “I have made my own backup (…)” 
* Click on “Start Update”
* The button “Start Update” should be enabled 
* You should be on the page “Update” with : 
** The current process writted
** a load bar
** The details of the current process on a second tab
Wait until the end of the update You should have be on a new page with 
* title : " Post-update checklist “
* A green notification : “Your store is up to date”
* Sub title : “Next step” and Troubleshooting 
* A link : “Download update logs”
* 2 button : “Exit” and " Open developer documentation”