refactor: fix code style (#28203)

PR Close #28203
This commit is contained in:
Daniel Ruf 2019-01-18 11:10:25 +01:00 committed by Alex Rickabaugh
parent b9854e582f
commit 0a564c3158

View File

@ -136,14 +136,13 @@ if (process.env['WEB_TEST_METADATA']) {
} }
setConf(conf, 'directConnect', true, 'is set to true for chrome'); setConf(conf, 'directConnect', true, 'is set to true for chrome');
setConf(conf, 'chromeDriver', chromeDriver, 'is determined by the browsers attribute'); setConf(conf, 'chromeDriver', chromeDriver, 'is determined by the browsers attribute');
mergeCapabilities( mergeCapabilities(conf, {
conf, { browserName: 'chrome',
browserName: 'chrome', chromeOptions: {
chromeOptions: { binary: chromeBin,
binary: chromeBin, args: args,
args: args, }
} });
});
} }
if (webTestNamedFiles['FIREFOX']) { if (webTestNamedFiles['FIREFOX']) {
// TODO(gmagolan): implement firefox support for protractor // TODO(gmagolan): implement firefox support for protractor