angular/protractor — pull request #1029 by rrazey (2014-07-03 23:37:23+00:00)
Title: fix(cli): removing object flattening as it breaks objects within capabilities object such as proxy

As far as I could tell this object flattening is not necessary and it actually causes objects within the capabilities object (such as the proxy object) to not be formatted correctly and thus does not pass to protractor.

I tested a variety of capabilities and I'll list some of them below. Everything works as intended. Please let me know if there is another hidden use for this flattening as I can't seem to find it.

protractor ./spec/conf/protractor.config.js --seleniumAddress http://localhost:4444/wd/hub --suite smoke --capabilities.name E2E_Tests --capabilities.browserName chrome --capabilities.proxy.proxyType manual --capabilities.proxy.httpProxy http://myproxy.com:80

protractor ./spec/conf/protractor.config.js --sauceUser username --sauceKey 12345678-1234-1234-1234-123456789012 --suite smoke --capabilities.name E2E_Tests --capabilities.browserName firefox --capabilities.platform windows --capabilities.proxy.proxyType manual --capabilities.proxy.httpProxy http://myproxy.com:80

protractor ./spec/conf/protractor.config.js --sauceUser username --sauceKey 12345678-1234-1234-1234-123456789012 --suite smoke --capabilities.name E2E_Tests --capabilities.browserName firefox --capabilities.platform windows