From 3c048585ac811726d6c6d493ed6d43f6a3570bee Mon Sep 17 00:00:00 2001 From: Julie Ralph Date: Mon, 16 Mar 2015 15:19:26 -0700 Subject: [PATCH] chore(config): remove deprecated `chromeOnly` --- docs/referenceConf.js | 5 ----- lib/configParser.js | 12 ------------ 2 files changed, 17 deletions(-) diff --git a/docs/referenceConf.js b/docs/referenceConf.js index 4ba7c7645..73694fea3 100644 --- a/docs/referenceConf.js +++ b/docs/referenceConf.js @@ -66,11 +66,6 @@ exports.config = { // firefox in the default locations. firefoxPath: null, - // **DEPRECATED** - // If true, only ChromeDriver will be started, not a Selenium Server. - // This should be replaced with directConnect. - chromeOnly: false, - // --------------------------------------------------------------------------- // ----- What tests to run --------------------------------------------------- // --------------------------------------------------------------------------- diff --git a/lib/configParser.js b/lib/configParser.js index bd38817ac..5c8058507 100644 --- a/lib/configParser.js +++ b/lib/configParser.js @@ -156,18 +156,6 @@ ConfigParser.prototype.addConfig_ = function(additionalConfig, relativeTo) { } }); - // Make sure they're not trying to add in deprecated config vals. - if (additionalConfig.jasmineNodeOpts && - additionalConfig.jasmineNodeOpts.specFolders) { - throw new Error('Using config.jasmineNodeOpts.specFolders is deprecated ' + - 'since Protractor 0.6.0. Please switch to config.specs.'); - } - - // chromeOnly is deprecated, use directConnect instead. - if (additionalConfig.chromeOnly) { - log.warn('chromeOnly is deprecated. Use directConnect'); - additionalConfig.directConnect = true; - } merge_(this.config_, additionalConfig); };