MAJ en Thelia 2.3.4

This commit is contained in:
2020-05-03 08:14:07 +02:00
parent 72ddf49e60
commit 35a800ca0e
328 changed files with 9560 additions and 14163 deletions

8
run-tests.sh Normal file → Executable file
View File

@@ -24,11 +24,13 @@ php Thelia cache:clear --env=prod
rm -rf local/session/sess_*
echo "CasperJS"
cd ../casperjs
echo "casperjs : $(which casperjs) $(casperjs --version)"
echo "phantomjs : ${PHANTOMJS_EXECUTABLE} $(${PHANTOMJS_EXECUTABLE} --version)"
export DISPLAY=:99.0
echo "Front tests"
./bin/casperjs test ../thelia/tests/functionnal/casperjs/exe/front/ --pre=../thelia/tests/functionnal/casperjs/conf/local.js --verbose --thelia2_base_url="http://localhost:8000/index.php/" --thelia2_screenshot_path="../thelia/tests/functionnal/casperjs/screenshot/" --thelia2_screenshot_disabled
casperjs test --local-to-remote-url-access=true --ignore-ssl-errors=true --ssl-protocol=any --pre=tests/functionnal/casperjs/conf/local.js --verbose tests/functionnal/casperjs/exe/front/ --thelia2_base_url="http://127.0.0.1:8000/index.php/" --thelia2_screenshot_path="tests/functionnal/casperjs/screenshot/" --thelia2_screenshot_disabled
echo "Back tests"
./bin/casperjs test ../thelia/tests/functionnal/casperjs/exe/back/ --pre=../thelia/tests/functionnal/casperjs/conf/local.js --thelia2_base_url="http://localhost:8000/index_dev.php/" --thelia2_screenshot_path="../thelia/tests/functionnal/casperjs/screenshot/" --thelia2_screenshot_disabled
casperjs test --local-to-remote-url-access=true --ignore-ssl-errors=true --ssl-protocol=any --pre=tests/functionnal/casperjs/conf/local.js --verbose tests/functionnal/casperjs/exe/back/ --thelia2_base_url="http://127.0.0.1:8000/index_dev.php/" --thelia2_screenshot_path="tests/functionnal/casperjs/screenshot/" --thelia2_screenshot_disabled