Tests for 1 click upgrade module.
Test is compatible with different PS versions
1.7.4
to1.7.5 - 1.7.6 - 1.7.7 - 1.7.8
1.7.5
to1.7.6 - 1.7.7 - 1.7.8
1.7.6
to1.7.7 - 1.7.8
1.7.7
to1.7.8
We use Mocha, Playwright and Chai as our base stack.
# Download the new PS version that you want to upgrade
https://www.prestashop.com/fr/versions-precedentes
cd autoupgrade_tests/
npm install
Parameter | Description |
---|---|
URL_FO | URL of your PrestaShop website Front Office (default to http://localhost/prestashop/ ) |
LOGIN | LOGIN of your PrestaShop website (default to demo@prestashop.com ) |
PASSWD | PASSWD of your PrestaShop website (default to prestashop_demo ) |
PS_VERSION | Your prestashop version (expl 1.7.5 ) |
VERSION_TO_UPGRADE | The new version to upgrade (expl 1.7.7 ) |
PROJECT_PATH | The prestashop project path (expl /projet/prestashop_1.7.4.4 ) |
DOWNLOAD_PATH | Your download path where there is the zip of the new version to upgrade (default to /home/username/Téléchargements ) |
ZIP_NAME | The new version to upgrade zip name (expl prestashop_1.7.7.0.zip ) |
Before running upgrade test, you should install an old version of PS.
URL_FO=your_shop_url PROJECT_PATH=your_project_path PS_VERSION=your_ps_version PS_VERSION_TO_UPGRADE=new_ps_version DOWNLOAD_PATH=your_download_path ZIP_NAME=zip_name.zip npm run test
Enjoy 😉 ✌️