WDS Error windows
This commit is contained in:
parent
0876a38104
commit
700be7c5a6
|
@ -5,11 +5,13 @@ let components = selectors.components;
|
||||||
|
|
||||||
const nightmare = createNightmare();
|
const nightmare = createNightmare();
|
||||||
|
|
||||||
|
jasmine.DEFAULT_TIMEOUT_INTERVAL = 5000;
|
||||||
|
|
||||||
describe('Clients path', () => {
|
describe('Clients path', () => {
|
||||||
fit('should log in', done => {
|
it('should log in', done => {
|
||||||
nightmare
|
nightmare
|
||||||
.login()
|
.login()
|
||||||
.wait(200)
|
.wait(2000)
|
||||||
.url()
|
.url()
|
||||||
.then(url => {
|
.then(url => {
|
||||||
expect(url).toBe(config.url + '#!/');
|
expect(url).toBe(config.url + '#!/');
|
||||||
|
|
|
@ -106,7 +106,7 @@ gulp.task('webpack-dev-server', ['spliting'], function() {
|
||||||
|
|
||||||
for (var entry in configCopy.entry) {
|
for (var entry in configCopy.entry) {
|
||||||
configCopy.entry[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);
|
var compiler = webpack(configCopy);
|
||||||
|
@ -125,7 +125,7 @@ gulp.task('webpack-dev-server', ['spliting'], function() {
|
||||||
chunks: false,
|
chunks: false,
|
||||||
chunkModules: 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);
|
if (err) throw new gutil.PluginError('webpack-dev-server', err);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -65,7 +65,8 @@
|
||||||
"build": "webpack --progress --colors",
|
"build": "webpack --progress --colors",
|
||||||
"dev": "webpack-dev-server --progress --colors",
|
"dev": "webpack-dev-server --progress --colors",
|
||||||
"lint": "eslint ./ --cache --ignore-pattern .gitignore",
|
"lint": "eslint ./ --cache --ignore-pattern .gitignore",
|
||||||
"test": "node services_tests.js",
|
"test": "node services_tests",
|
||||||
"testWatcher": "nodemon -q services_tests.js -w services"
|
"testWatcher": "nodemon -q services_tests.js -w services",
|
||||||
|
"e2e": "node e2e_tests"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue