changed screenshot path

This commit is contained in:
Julien Chanseaume
2014-08-11 13:43:55 +02:00
parent 8cbfe5e22a
commit 4b85156fb8
2 changed files with 4 additions and 3 deletions

View File

@@ -18,7 +18,9 @@ if (casper.cli.has('thelia2_base_url')){
}
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};