Fix prepree2e script

This commit is contained in:
Maxime GRIS
2017-05-05 23:41:23 +02:00
parent 6a9836a1e4
commit b2af4fd24a
2 changed files with 13 additions and 8 deletions

View File

@@ -9,7 +9,11 @@ exports.config = {
'./e2e/**/*.e2e-spec.ts'
],
capabilities: {
'browserName': 'chrome'
'browserName': 'chrome',
chromeOptions: {
binary: './node_modules/electron/dist/electron.exe',
args: ['--test-type=webdriver', 'app=main.js']
}
},
directConnect: true,
baseUrl: 'http://localhost:4200/',