gulp-phantomcss
gulp-phantomcss copied to clipboard
Run your phantomCSS tests with Gulp
I added a parameter to be able to pass command-line options to PhantomJs, which as far as I could tell wasn't possible before.
Currently this option isn't passed for some reason.
By default, gulp-phantomcss sets a backup screenshot option for use. This will override the passed option variable. Flipping the checks, now the passed option will be checked first before the...
Not loading some of the components in the page even i have made the wait **gulp file** gulp.task('test', function() { del.sync('./failures'); del.sync('./screenshots/**/*.{fail.png,diff.png}'); console.log('Phantom CSS starting'); return gulp.src('test/*.js') .pipe(phantomcss({ mismatchTolerance: 2.5...
If I pass in a remote URL like google.com this works, but if I pass in a local URL like (https://test.dev) it can't ever find the selector. Is there a...
``` gulp.task('phantomcss', function (){ gulp.src('./casper-tests.js') .pipe(phantomcss({ mismatchTolerance: 0.5, screenshots: './test/styles/screenshots' })); }); ``` This doesn't seem to be working for me. Is the syntax incorrect, or does this not exist.
Hi, I would love to have the chance to override your onPass and onFail callbacks from within my gulpfile.