From 5ae2846d97b3bee5cba52c8cd1c425e02a9caada Mon Sep 17 00:00:00 2001 From: larabr <7375870+larabr@users.noreply.github.com> Date: Mon, 24 Apr 2023 19:03:47 +0200 Subject: [PATCH] CI: test on iOS Safari 14 instead of 15 to have access to SubtleCrypto SubtleCrypto not available in the latter due to stricter secure context checks --- package.json | 2 +- test/karma.conf.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 20bfb56b..f13d85a2 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "prebrowsertest": "npm run build-test", "browsertest": "npm start -- -o test/unittests.html", "test-browser": "karma start test/karma.conf.js", - "test-browserstack": "karma start test/karma.conf.js --browsers bs_safari_latest,bs_ios_15,bs_safari_13_1", + "test-browserstack": "karma start test/karma.conf.js --browsers bs_safari_latest,bs_ios_14,bs_safari_13_1", "coverage": "nyc npm test", "lint": "eslint .", "docs": "jsdoc --configure .jsdocrc.js --destination docs --recurse README.md src && printf '%s' 'docs.openpgpjs.org' > docs/CNAME", diff --git a/test/karma.conf.js b/test/karma.conf.js index a9dd4907..25d5cf4f 100644 --- a/test/karma.conf.js +++ b/test/karma.conf.js @@ -109,12 +109,12 @@ module.exports = function(config) { os: 'OS X', os_version: 'Catalina' }, - bs_ios_15: { + bs_ios_14: { base: 'BrowserStack', - device: 'iPhone 13', + device: 'iPhone 12', real_mobile: true, os: 'ios', - os_version: '15' + os_version: '14' } },