make protractor tests work

This commit is contained in:
Andrew
2015-03-30 08:52:49 -06:00
parent bedbe8b489
commit df9ef592f5
13 changed files with 101 additions and 124 deletions

View File

@@ -8,7 +8,7 @@ exports.config = {
// Spec patterns are relative to the location of the spec file. They may
// include glob patterns.
specs: [
path.resolve(projectRoot, 'dist/e2e/**/*.e2e.js'),
path.resolve(projectRoot, 'dist/e2e/**/*e2e.js'),
],
// Options to be passed to Jasmine-node.

View File

@@ -18,7 +18,7 @@ module.exports = function(gulp, argv, buildConfig) {
console.log('Serving `dist` on http://localhost:' + buildConfig.protractorPort);
});
gulp.task('snapshot', ['e2e', 'protractor-server'], function(done) {
gulp.task('snapshot', ['build', 'protractor-server'], function(done) {
var protractorConfigFile = path.resolve(projectRoot, 'scripts/snapshot/protractor.config.js');
snapshot(done, protractorConfigFile);
});