Closed 4lun closed 9 years ago
Same issue as #61 though the mentioned fix of reinstalling grunt-casper didn't seem to help.
Initializing Command-line options: --verbose Reading "Gruntfile.js" Gruntfile...OK Registering Gruntfile tasks. Initializing config...OK Registering "grunt-casper" local Npm module tasks. Reading /Users/user/project/node_modules/grunt-casper/package.json...OK Parsing /Users/user/project/node_modules/grunt-casper/package.json...OK Loading "casper.js" tasks...OK + casper Loading "Gruntfile.js" tasks...OK + test Running tasks: test Running "test" task Running "casper:test" (casper) task Verifying property casper.test exists in config...OK Files: tests/browser/_util.js, tests/browser/basics.js -> tests/logs/browser.xml Options: test, engine="slimerjs" Arguments: (none) Preparing casperjs spawn Spawning casperjs with args: [ 'test', '/Users/user/project/tests/browser/_util.js', '/Users/user/project/tests/browser/basics.js', '--engine=slimerjs', '--xunit=tests/logs/browser.xml' ] Found PhantomJS Executable /Users/user/project/node_modules/grunt-casper/node_modules/phantomjs/lib/phantom/bin/phantomjs Found SlimerJS Executable /Users/user/project/node_modules/slimerjs/lib/slimer/slimerjs Found CasperJS Executable /Users/user/project/node_modules/grunt-casper/node_modules/casperjs/bin/casperjs>> Casper Task 'casper:test' took ~112ms to run Warning: Task "casper:test" failed. Use --force to continue. Aborted due to warnings.
package.json:
{ "devDependencies": { "grunt-casper": "~0.4.2", "grunt": "~0.4.5", "slimerjs": "~0.9.5" } }
Any suggestions on how to debug? --verbose doesn't seem to reveal anything. Cheers!
Ok figured it out, it couldn't locate the path to Firefox. This got it working:
export SLIMERJSLAUNCHER=/Applications/Firefox.app/Contents/MacOS/firefox
Same issue as #61 though the mentioned fix of reinstalling grunt-casper didn't seem to help.
package.json:
Any suggestions on how to debug? --verbose doesn't seem to reveal anything. Cheers!