Skip to content

Commit

Permalink
Updated Android 4 SauceLabs configuration (#4672)
Browse files Browse the repository at this point in the history
* update sauce config for android

SauceLabs has sunset all versions of Android 4 prior to 4.4, as
they are modernizing their infrastructure:

https://wiki.saucelabs.com/pages/viewpage.action?pageId=67012495

This means the previous Selendroid configuration must be changed
for Appium, the new platform for Android 4.4 testing.

* add --no-ssl-bump-domains flag to sauce config

To complicate matters even further, the new Android 4.4 appium
platform seems to surface an SSL error that prevents the karma
tests from running (unless you manually take over the device and
close the popup).

After 2 days of pain going back and forth with a SauceLabs support
tech, it seems that this flag fixes the issue... even though I
hope Google will fix their untrusted certificate authority issues
soon. Until then, this flag gets the job done.

* fix unexpected trailing comma linting error
  • Loading branch information
jlmakes authored and yyx990803 committed Jan 12, 2017
1 parent 79c1c7f commit 3549e73
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions build/karma.sauce.config.js
Expand Up @@ -62,10 +62,12 @@ var batches = [
browserName: 'iphone',
version: '9.3'
},
sl_android_4_2: {
sl_android_4_4: {
base: 'SauceLabs',
browserName: 'android',
version: '4.2'
browserName: 'Browser',
platform: 'Android',
version: '4.4',
device: 'Android Emulator'
},
sl_android_5_1: {
base: 'SauceLabs',
Expand All @@ -88,6 +90,9 @@ module.exports = function (config) {
sauceLabs: {
testName: 'Vue.js unit tests',
recordScreenshots: false,
connectOptions: {
'no-ssl-bump-domains': 'all' // Ignore SSL error on Android emulator
},
build: process.env.CIRCLE_BUILD_NUM || process.env.SAUCE_BUILD_ID || Date.now()
},
// mobile emulators are really slow
Expand Down

0 comments on commit 3549e73

Please sign in to comment.