Added functionnal test for front office : home, register, login, cart

This commit is contained in:
Julien Chanseaume
2014-08-11 11:28:23 +02:00
parent 94cc1ea516
commit 473402bf88
8 changed files with 395 additions and 11 deletions

View File

@@ -19,6 +19,20 @@ before_script:
- php setup/faker.php
- php Thelia module:activate Colissimo
- php Thelia module:activate Cheque
- "export PHANTOMJS_EXECUTABLE='phantomjs --local-to-remote-url-access=yes --ignore-ssl-errors=yes'"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3
- php -S localhost:8000 -t web/ &
- sleep 3
- cd ..
- git clone https://github.com/n1k0/casperjs.git
- cd casperjs
- git checkout tags/1.0.4
script:
- "DISPLAY=:99.0 ./bin/casperjs test ../test/tests/functionnal/casperjs/exe/front/ --pre=../test/tests/functionnal/casperjs/conf/local.js --verbose --thelia2_base_url='http://localhost:8000/index.php/'"
matrix:
allow_failures: