diff --git a/browser-providers.conf.js b/browser-providers.conf.js index 4fc9b54f3ead4..423960430b774 100644 --- a/browser-providers.conf.js +++ b/browser-providers.conf.js @@ -11,33 +11,47 @@ // If a category becomes empty (e.g. BS and required), then the corresponding job must be commented // out in the CI configuration. const config = { - 'Android11': {unitTest: {target: 'SL', required: true}}, - 'Android12': {unitTest: {target: 'SL', required: true}}, + 'Android13': {unitTest: {target: 'SL', required: true}}, + 'Android14': {unitTest: {target: 'SL', required: true}}, }; /** Whether browsers should be remotely acquired in debug mode. */ const debugMode = false; +// Karma-sauce-launcher isn't really maintained and doesn't support officially appium2 +// Looking at the source code https://github.com/karma-runner/karma-sauce-launcher/blob/69dcb822a45d29e57297b0eda7af4123ae55aafd/src/process-config.ts#L60 +// We can force the config to be recognized as W3C by setting a browserVersion property +const browserVersion = 'latest'; + // Specific platform configuration can be found at: // https://saucelabs.com/platform/platform-configurator const customLaunchers = { - 'SL_ANDROID11': { + 'SL_ANDROID13': { base: 'SauceLabs', - browserName: 'Chrome', platformName: 'Android', - platformVersion: '11.0', - deviceName: 'Google Pixel 3a GoogleAPI Emulator', - appiumVersion: '1.20.2', - extendedDebugging: debugMode, + browserName: 'Chrome', + browserVersion, + 'appium:deviceName': 'Google Pixel 5a GoogleAPI Emulator', + 'appium:platformVersion': '13.0', + 'appium:automationName': 'uiautomator2', + 'sauce:options': { + appiumVersion: '2.0.0', + extendedDebugging: debugMode, + }, }, - 'SL_ANDROID12': { + + 'SL_ANDROID14': { base: 'SauceLabs', - browserName: 'Chrome', platformName: 'Android', - platformVersion: '12.0', - deviceName: 'Google Pixel 4a (5G) GoogleAPI Emulator', - appiumVersion: '1.22.1', - extendedDebugging: debugMode, + browserName: 'Chrome', + browserVersion, + 'appium:deviceName': 'Google Pixel 6 Pro GoogleAPI Emulator', + 'appium:platformVersion': '14.0', + 'appium:automationName': 'uiautomator2', + 'sauce:options': { + appiumVersion: '2.0.0', + extendedDebugging: debugMode, + }, }, };