Skip to content

Commit af253cc

Browse files
committed
ci: enable Android 12 for tests on CI (angular#45926)
This commit updates SauceLabs config to use Android 12 and drop Android 10, so we maintain 2 most recent versions according to https://angular.io/guide/browser-support. Closes angular#45925. PR Close angular#45926
1 parent b6156f4 commit af253cc

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

browser-providers.conf.js

+11-9
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,32 @@
1111
// If a category becomes empty (e.g. BS and required), then the corresponding job must be commented
1212
// out in the CI configuration.
1313
const config = {
14-
'Android10': {unitTest: {target: 'SL', required: true}},
1514
'Android11': {unitTest: {target: 'SL', required: true}},
15+
'Android12': {unitTest: {target: 'SL', required: true}},
1616
};
1717

1818
/** Whether browsers should be remotely acquired in debug mode. */
1919
const debugMode = false;
2020

21+
// Specific platform configuration can be found at:
22+
// https://saucelabs.com/platform/platform-configurator
2123
const customLaunchers = {
22-
'SL_ANDROID10': {
24+
'SL_ANDROID11': {
2325
base: 'SauceLabs',
2426
browserName: 'Chrome',
2527
platformName: 'Android',
26-
platformVersion: '10.0',
28+
platformVersion: '11.0',
2729
deviceName: 'Google Pixel 3a GoogleAPI Emulator',
2830
appiumVersion: '1.20.2',
2931
extendedDebugging: debugMode,
3032
},
31-
'SL_ANDROID11': {
33+
'SL_ANDROID12': {
3234
base: 'SauceLabs',
3335
browserName: 'Chrome',
3436
platformName: 'Android',
35-
platformVersion: '11.0',
36-
deviceName: 'Google Pixel 3a GoogleAPI Emulator',
37-
appiumVersion: '1.20.2',
37+
platformVersion: '12.0',
38+
deviceName: 'Google Pixel 4a (5G) GoogleAPI Emulator',
39+
appiumVersion: '1.22.1',
3840
extendedDebugging: debugMode,
3941
},
4042
};
@@ -45,8 +47,8 @@ const sauceAliases = {
4547
};
4648

4749
module.exports = {
48-
customLaunchers: customLaunchers,
49-
sauceAliases: sauceAliases,
50+
customLaunchers : customLaunchers,
51+
sauceAliases : sauceAliases,
5052
};
5153

5254
function buildConfiguration(type, target, required) {

0 commit comments

Comments
 (0)