selenium: Only load 'sauce' service when needed
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 20 Sep 2019 17:52:20 +0000 (18:52 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Fri, 20 Sep 2019 17:52:20 +0000 (18:52 +0100)
commite78484109ae7bd9fd8300775fcf5028b5a3bb006
tree061edef378cc60f795d2a2c889cbbb523ae56941
parent0eb97872a54229f5c9892a1202882997a50d7e37
selenium: Only load 'sauce' service when needed

Also, remove the redundant unprefixed `user` and `key` options.
These would be cleaner to set through `sauceConnectOpts`
as `sauceConnectOpts { username: …, accesskey: … }`, but even
that isn't needed because wdio-sauce-service already reads these
same environment variables directly. No further config needed.

Also remove the duplication of default variables we don't have
any particular preference for yet so that enjoy improvements to
these when upgrading.

Change-Id: I0d4802f83509b0b49f775560b508d9929ae9979e
tests/selenium/wdio.conf.js