Autoupgrade tests
Tests for 1 click upgrade module.
Test is compatible with different PS versions
1.7.4to1.7.5 - 1.7.6 - 1.7.7 - 1.7.81.7.5to1.7.6 - 1.7.7 - 1.7.81.7.6to1.7.7 - 1.7.81.7.7to1.7.8
We use Mocha, Playwright and Chai as our base stack.
How to install your environment
# Download the new PS version that you want to upgrade
https://www.prestashop.com/fr/versions-precedentes
cd autoupgrade_tests/
npm install
Test parameters
| 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) |
| PS_VERSION_UPGRADE_TO | The new version to upgrade (example 1.7.7) |
| ZIP_NAME | The new version to upgrade zip name (example prestashop_1.7.7.0.zip) |
Before running upgrade test, you should install an old version of PS.
Launch the script
URL_FO=your_shop_url PS_VERSION=your_ps_version PS_VERSION_UPGRADE_TO=new_ps_version ZIP_NAME=zip_name.zip npm run upgrade-test
Enjoy 😉 ✌️