ci: update saucelabs browsers

This commit updates the browsers versions to reflect the what's currently supported.
This commit is contained in:
Alan Agius 2022-09-21 07:12:25 +00:00 committed by Charles
parent 1e5d4a7508
commit fd9c3f1cca

View File

@ -1,6 +1,7 @@
// @ts-check // @ts-check
// Protractor configuration file, see link for more information // Protractor configuration file, see link for more information
// https://github.com/angular/protractor/blob/master/lib/config.ts // https://github.com/angular/protractor/blob/master/lib/config.ts
// https://saucelabs.com/platform/platform-configurator
const { SpecReporter, StacktraceOption } = require('jasmine-spec-reporter'); const { SpecReporter, StacktraceOption } = require('jasmine-spec-reporter');
@ -19,20 +20,26 @@ exports.config = {
multiCapabilities: [ multiCapabilities: [
{ {
browserName: 'chrome', browserName: 'chrome',
platform: 'Windows 10', platform: 'Windows 11',
version: '89.0', version: '105',
tunnelIdentifier, tunnelIdentifier,
}, },
{ {
browserName: 'firefox', browserName: 'firefox',
version: '86.0', version: '104',
platform: 'Windows 10', platform: 'Windows 11',
tunnelIdentifier, tunnelIdentifier,
}, },
{ {
browserName: 'firefox', browserName: 'firefox',
version: '78.0', // Latest Firefox ESR version version: '91', // Latest Firefox ESR version
platform: 'Windows 10', platform: 'Windows 11',
tunnelIdentifier,
},
{
browserName: 'safari',
platform: 'macOS 12',
version: '15',
tunnelIdentifier, tunnelIdentifier,
}, },
{ {
@ -42,15 +49,15 @@ exports.config = {
tunnelIdentifier, tunnelIdentifier,
}, },
{ {
browserName: 'safari', browserName: 'MicrosoftEdge',
platform: 'macOS 10.15', platform: 'Windows 11',
version: '13.1', version: '103',
tunnelIdentifier, tunnelIdentifier,
}, },
{ {
browserName: 'MicrosoftEdge', browserName: 'MicrosoftEdge',
platform: 'Windows 10', platform: 'Windows 11',
version: '88.0', version: '104',
tunnelIdentifier, tunnelIdentifier,
}, },
], ],
@ -68,9 +75,6 @@ exports.config = {
}, },
onPrepare() { onPrepare() {
// Fix for Safari 12 -- https://github.com/angular/protractor/issues/4964
browser.resetUrl = 'about:blank';
require('ts-node').register({ require('ts-node').register({
project: require('path').join(__dirname, './tsconfig.json'), project: require('path').join(__dirname, './tsconfig.json'),
}); });