build(aio): fix example protractor config for Travis (#21309)

Without setting the CHROME_BIN Travis will not use the correct version
of Chrome for running e2e tests.

Closes #20159

PR Close #21309
This commit is contained in:
Peter Bacon Darwin 2018-01-04 16:21:07 +00:00 committed by Kara Erickson
parent ef78538a06
commit 81823e89cd
1 changed files with 5 additions and 1 deletions

View File

@ -9,7 +9,11 @@ exports.config = {
'./e2e/**/*.e2e-spec.ts'
],
capabilities: {
'browserName': 'chrome'
'browserName': 'chrome',
// For Travis CI only
chromeOptions: {
binary: process.env.CHROME_BIN
}
},
directConnect: true,
baseUrl: 'http://localhost:4200/',