Skip to content

Commit 0097102

Browse files
josephperrottatscott
authored andcommitted
ci: update mobile browsers tested via browser stack to correctly test supported browsers (angular#43858)
Update to running tests against latest ios and android emulators. PR Close angular#43858
1 parent 3f07e20 commit 0097102

File tree

1 file changed

+8
-40
lines changed

1 file changed

+8
-40
lines changed

browser-providers.conf.js

+8-40
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,8 @@ var CIconfiguration = {
2727
'FirefoxBeta': {unitTest: {target: null, required: true}, e2e: {target: null, required: false}},
2828
'FirefoxDev': {unitTest: {target: null, required: true}, e2e: {target: null, required: true}},
2929
'Edge': {unitTest: {target: 'SL', required: false}, e2e: {target: null, required: true}},
30-
'Android7': {unitTest: {target: 'SL', required: true}, e2e: {target: null, required: true}},
31-
'Android8': {unitTest: {target: 'SL', required: true}, e2e: {target: null, required: true}},
32-
'Android9': {unitTest: {target: 'SL', required: true}, e2e: {target: null, required: true}},
33-
// Disable Android 10 tests due to infrastructure failure.
34-
// ex:
35-
// Chrome Mobile 74.0.3729 (Android 0.0.0) ERROR:
36-
// Error: XHR error loading
37-
// http://angular-ci.local:9876/base/node_modules/rxjs/internal/operators/zip.js
38-
//
39-
// Error loading http://angular-ci.local:9876/base/node_modules/rxjs/internal/operators/zip.js as
40-
// "../internal/operators/zip" from
41-
// http://angular-ci.local:9876/base/node_modules/rxjs/operators/index.js
42-
'Android10': {unitTest: {target: 'SL', required: false}, e2e: {target: null, required: true}},
43-
// Disable all Safari and iOS tests because of incorrect results
44-
// ex:
45-
// Mobile Safari 13.0.0 (iOS 13.0.0) styling static template only should capture static values in
46-
// TStylingKey FAILED Expected $.content = 'dynamic' to equal '"dynamic"'. Mobile Safari 12.0.0
47-
// (iOS 12.0.0) styling should handle values wrapped into SafeValue FAILED Expected
48-
// 'url("http://angular-ci.local:9876/1.png")' to contain 'url("/1.png")'.s Tracking in:
49-
// https://github.com/angular/angular/issues/36975
30+
'Android10': {unitTest: {target: 'SL', required: true}, e2e: {target: null, required: true}},
31+
'Android11': {unitTest: {target: 'SL', required: true}, e2e: {target: null, required: true}},
5032
'Safari12': {unitTest: {target: 'SL', required: false}, e2e: {target: null, required: true}},
5133
'Safari13': {unitTest: {target: 'SL', required: false}, e2e: {target: null, required: true}},
5234
'iOS12': {unitTest: {target: 'SL', required: false}, e2e: {target: null, required: true}},
@@ -92,43 +74,29 @@ var customLaunchers = {
9274
platform: 'Windows 10',
9375
version: '14.14393'
9476
},
95-
'SL_ANDROID7': {
96-
base: 'SauceLabs',
97-
browserName: 'Chrome',
98-
platform: 'Android',
99-
version: '7.1',
100-
device: 'Android GoogleAPI Emulator'
101-
},
102-
'SL_ANDROID8': {
77+
'SL_ANDROID10': {
10378
base: 'SauceLabs',
10479
browserName: 'Chrome',
10580
platform: 'Android',
106-
version: '8.0',
81+
version: '10.0',
10782
device: 'Android GoogleAPI Emulator'
10883
},
109-
'SL_ANDROID9': {
84+
'SL_ANDROID11': {
11085
base: 'SauceLabs',
11186
browserName: 'Chrome',
11287
platform: 'Android',
113-
version: '9.0',
88+
version: '11.0',
11489
device: 'Android GoogleAPI Emulator'
11590
},
116-
'SL_ANDROID10': {
117-
base: 'SauceLabs',
118-
browserName: 'Chrome',
119-
platform: 'Android',
120-
version: '10.0',
121-
device: 'Android GoogleAPI Emulator'
122-
}
12391
};
12492

12593
var sauceAliases = {
12694
'ALL': Object.keys(customLaunchers).filter(function(item) {
12795
return customLaunchers[item].base == 'SauceLabs';
12896
}),
12997
'DESKTOP': ['SL_CHROME', 'SL_FIREFOX', 'SL_EDGE', 'SL_SAFARI12', 'SL_SAFARI13', 'SL_FIREFOXESR'],
130-
'MOBILE': ['SL_ANDROID7', 'SL_ANDROID8', 'SL_ANDROID9', 'SL_ANDROID10', 'SL_IOS12', 'SL_IOS13'],
131-
'ANDROID': ['SL_ANDROID7', 'SL_ANDROID8', 'SL_ANDROID9', 'SL_ANDROID10'],
98+
'MOBILE': ['SL_ANDROID10', 'SL_ANDROID11', 'SL_IOS12', 'SL_IOS13'],
99+
'ANDROID': ['SL_ANDROID10', 'SL_ANDROID11'],
132100
'FIREFOX': ['SL_FIREFOXESR'],
133101
'IOS': ['SL_IOS12', 'SL_IOS13'],
134102
'SAFARI': ['SL_SAFARI12', 'SL_SAFARI13'],

0 commit comments

Comments
 (0)