gulp-protractor reports skipped tests as failed -


running out of box 'protractor' command runs entire e2e directory expected. tests have disabled reported skipped.

however, i'm using gulp-protractor handle e2e now. when run gulp protractor, disabled tests reported failed.

i can't seem figure out problem is.

this code controlling gulp e2e tasks.

'use strict';  var   gulp = require('gulp'),   load = require('gulp-load-plugins')(),   browsersync = require('browser-sync'),   paths = gulp.paths;   //starts protractor function runprotractor(done) {    gulp.src(paths.e2e + '/**/**/*.js')      .pipe(load.protractor.protractor(       {         configfile: 'protractor.conf.js'       }     ))     .on('error', function (e) {       // make sure failed tests cause gulp exit non-zero       throw e;     })     .on('end', function () {       // close browser sync server       browsersync.exit();       done();     }); }  //starts local, selenium, , starts protractor gulp.task('protractor:src', ['serve:e2e', 'webdriver-update'], runprotractor);  // downloads selenium webdriver gulp.task('webdriver-update', load.protractor.webdriver_update); 

turns out gulp task dependencies weren't being processed sequentially, needed.

this helpful: http://schickling.me/synchronous-tasks-gulp/


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -