Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.
You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page
This is thoroughly explained in README in the tests/UI
folder.
You’ll need a working installation of PrestaShop in order to run the tests.
If you want to run only one test from a campaign or a couple of tests in the same folder, you can use test:specific
command.
To specify which test to run, you can add the TEST_PATH
parameter in the beginning of the command
# To run the **Filter Products** test from sanity campaign
TEST_PATH="sanity/02_productsBO/01_filterProducts" URL_FO="https://domain.tld/" npm run test:specific
# To run all **Products BO** tests
TEST_PATH="sanity/02_productsBO/*" URL_FO="https://domain.tld/" npm run test:specific