mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Kara Erickson
parent
b9d8ac5b2d
commit
5efb751a09
@@ -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/',
|
||||
|
||||
Reference in New Issue
Block a user