Added functionnal test for front office : home, register, login, cart
This commit is contained in:
14
.travis.yml
14
.travis.yml
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user