Skip to content

Commit 3549e73

Browse files
jlmakesyyx990803
authored andcommitted
Updated Android 4 SauceLabs configuration (#4672)
* 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
1 parent 79c1c7f commit 3549e73

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Diff for: build/karma.sauce.config.js

+8-3
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,12 @@ var batches = [
6262
browserName: 'iphone',
6363
version: '9.3'
6464
},
65-
sl_android_4_2: {
65+
sl_android_4_4: {
6666
base: 'SauceLabs',
67-
browserName: 'android',
68-
version: '4.2'
67+
browserName: 'Browser',
68+
platform: 'Android',
69+
version: '4.4',
70+
device: 'Android Emulator'
6971
},
7072
sl_android_5_1: {
7173
base: 'SauceLabs',
@@ -88,6 +90,9 @@ module.exports = function (config) {
8890
sauceLabs: {
8991
testName: 'Vue.js unit tests',
9092
recordScreenshots: false,
93+
connectOptions: {
94+
'no-ssl-bump-domains': 'all' // Ignore SSL error on Android emulator
95+
},
9196
build: process.env.CIRCLE_BUILD_NUM || process.env.SAUCE_BUILD_ID || Date.now()
9297
},
9398
// mobile emulators are really slow

0 commit comments

Comments
 (0)