Skip to content

Updated Android 4 SauceLabs configuration #4672

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 12, 2017
Merged

Updated Android 4 SauceLabs configuration #4672

merged 3 commits into from
Jan 12, 2017

Conversation

jlmakes
Copy link
Contributor

@jlmakes jlmakes commented Jan 6, 2017

SauceLabs has sunset all versions of Android prior to 4.4:
https://wiki.saucelabs.com/pages/viewpage.action?pageId=67012495

Let me save you the pain I've endured the past few days, getting my SauceLabs Android 4.2 Selendroid configuration upgraded to Android 4.4 on Appium. Oh honey child let me save you! 💋

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.
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.
@@ -90,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
Copy link
Contributor Author

@jlmakes jlmakes Jan 6, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my testing, it's only the Android 4 emulator, so for what it's worth it could be set explicitly for google domains:

'no-ssl-bump-domains': '*google.com'

@yyx990803 yyx990803 merged commit 3549e73 into vuejs:dev Jan 12, 2017
@yyx990803
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants