changed screenshot path
This commit is contained in:
@@ -31,8 +31,7 @@ before_script:
|
|||||||
- git checkout tags/1.1-beta3
|
- git checkout tags/1.1-beta3
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- "DISPLAY=:99.0 ./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/'"
|
- "DISPLAY=:99.0 ./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/'"
|
||||||
|
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
|
|||||||
@@ -18,7 +18,9 @@ if (casper.cli.has('thelia2_base_url')){
|
|||||||
}
|
}
|
||||||
|
|
||||||
var screenshot_dir = 'tests/functionnal/casperjs/screenshot/';
|
var screenshot_dir = 'tests/functionnal/casperjs/screenshot/';
|
||||||
|
if (casper.cli.has('thelia2_screenshot_path')){
|
||||||
|
screenshot_dir = casper.cli.get('thelia2_screenshot_path');
|
||||||
|
}
|
||||||
|
|
||||||
casper.options.viewportSize = {width: 1024, height: 768};
|
casper.options.viewportSize = {width: 1024, height: 768};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user