From 700be7c5a6202409456b1fce3dd9fd93197379b7 Mon Sep 17 00:00:00 2001 From: Vicente Falco Date: Sun, 17 Sep 2017 15:09:10 +0200 Subject: [PATCH] WDS Error windows --- e2e/paths/clients_path.spec.js | 6 ++++-- gulpfile.js | 4 ++-- package.json | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/e2e/paths/clients_path.spec.js b/e2e/paths/clients_path.spec.js index f9bd00061..869f1750f 100644 --- a/e2e/paths/clients_path.spec.js +++ b/e2e/paths/clients_path.spec.js @@ -5,11 +5,13 @@ let components = selectors.components; const nightmare = createNightmare(); +jasmine.DEFAULT_TIMEOUT_INTERVAL = 5000; + describe('Clients path', () => { - fit('should log in', done => { + it('should log in', done => { nightmare .login() - .wait(200) + .wait(2000) .url() .then(url => { expect(url).toBe(config.url + '#!/'); diff --git a/gulpfile.js b/gulpfile.js index 7eb390709..4ad7825b3 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -106,7 +106,7 @@ gulp.task('webpack-dev-server', ['spliting'], function() { for (var entry in configCopy.entry) { configCopy.entry[entry] - .unshift('webpack-dev-server/client?http://0.0.0.0:8081/'); + .unshift('webpack-dev-server/client?http://127.0.0.1:8081/'); } var compiler = webpack(configCopy); @@ -125,7 +125,7 @@ gulp.task('webpack-dev-server', ['spliting'], function() { chunks: false, chunkModules: false } - }).listen(8081, '0.0.0.0', function(err) { + }).listen(8081, '127.0.0.1', function(err) { if (err) throw new gutil.PluginError('webpack-dev-server', err); }); }); diff --git a/package.json b/package.json index 921845d90..0a2004057 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,8 @@ "build": "webpack --progress --colors", "dev": "webpack-dev-server --progress --colors", "lint": "eslint ./ --cache --ignore-pattern .gitignore", - "test": "node services_tests.js", - "testWatcher": "nodemon -q services_tests.js -w services" + "test": "node services_tests", + "testWatcher": "nodemon -q services_tests.js -w services", + "e2e": "node e2e_tests" } }