From 5f9c154d3b0550fe9cbf837238c6b1bdd06d9b34 Mon Sep 17 00:00:00 2001 From: Albert Yu Date: Wed, 13 Mar 2024 15:56:15 +0800 Subject: [PATCH] Update karma config --- test/karma.conf.js | 12 ++++-------- test/karma.conf.profile.js | 14 +++++--------- 2 files changed, 9 insertions(+), 17 deletions(-) diff --git a/test/karma.conf.js b/test/karma.conf.js index 60778dbb4d..962c760cd1 100644 --- a/test/karma.conf.js +++ b/test/karma.conf.js @@ -188,26 +188,22 @@ module.exports = function setKarmaConfig(config) { os: 'OS X', os_version: 'Catalina', browser: 'chrome', - // We support Chrome 90.x - // However, >=88 fails on seemingly all focus-related tests. - // TODO: Investigate why. - browser_version: '87.0', + // We support Chrome 109.x per .browserslistrc + browser_version: '109.0', }, safari: { base: 'BrowserStack', os: 'OS X', os_version: 'Catalina', browser: 'safari', - // We support 12.5 on iOS. - // However, 12.x is very flaky on desktop (mobile is always flaky). - browser_version: '13.0', + browser_version: '15.6', }, edge: { base: 'BrowserStack', os: 'Windows', os_version: '10', browser: 'edge', - browser_version: '91.0', + browser_version: '120.0', }, }, }; diff --git a/test/karma.conf.profile.js b/test/karma.conf.profile.js index 6527c3babf..1bfaa5aec5 100644 --- a/test/karma.conf.profile.js +++ b/test/karma.conf.profile.js @@ -144,10 +144,8 @@ module.exports = function setKarmaConfig(config) { os: 'OS X', os_version: 'Catalina', browser: 'chrome', - // We support Chrome 90.x - // However, >=88 fails on seemingly all focus-related tests. - // TODO: Investigate why. - browser_version: '87.0', + // We support Chrome 109.x per .browserslistrc + browser_version: '109.0', }, // No accurate performance timings (integer precision instead of double). firefox: { @@ -155,7 +153,7 @@ module.exports = function setKarmaConfig(config) { os: 'Windows', os_version: '10', browser: 'firefox', - browser_version: '78.0', + browser_version: '15.0', }, // No accurate performance timings (integer precision instead of double). safari: { @@ -163,16 +161,14 @@ module.exports = function setKarmaConfig(config) { os: 'OS X', os_version: 'Catalina', browser: 'safari', - // We support 12.5 on iOS. - // However, 12.x is very flaky on desktop (mobile is always flaky). - browser_version: '13.0', + browser_version: '15.6', }, edge: { base: 'BrowserStack', os: 'Windows', os_version: '10', browser: 'edge', - browser_version: '91.0', + browser_version: '120.0', }, }, };