]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Some fixes (#38354)
authorMukesh Rana <106960543+mukesh-lt@users.noreply.github.com>
Tue, 28 Mar 2023 15:56:26 +0000 (21:26 +0530)
committerXhmikosR <xhmikosr@gmail.com>
Thu, 7 Mar 2024 15:38:58 +0000 (17:38 +0200)
js/tests/browsers.js
js/tests/karma.conf.js
package.json

index f92dc19f76fb0e579942c51bb11d6dd63341d175..1fae52ada10192f74caf9a0973a5f696a743224c 100644 (file)
@@ -53,25 +53,25 @@ const browsers = {
         platformName: 'Windows 10'
       }
     },
-    iphone7: {
+    iphone11: {
       platformName: 'ios',
-      platformVersion: '12',
+      platformVersion: '15',
       browserName: 'Safari',
-      deviceName: 'iPhone 7',
+      deviceName: 'iPhone 13',
       isRealMobile: true
     },
-    iphone12: {
+    iphone14: {
       platformName: 'ios',
       platformVersion: '16',
       browserName: 'Safari',
-      deviceName: 'iPhone 12',
+      deviceName: 'iPhone 14',
       isRealMobile: true
     },
-    pixel2: {
+    galaxyS22: {
       platformName: 'android',
       platformVersion: '12',
       browserName: 'Chrome',
-      deviceName: 'Google Pixel 6',
+      deviceName: 'Galaxy S22 5G',
       isRealMobile: true
     }
   },
index b7632f62dd7a2416157f4ebcd640a9a640406501..adbc1138cecea2d2460242777981f2c673c04ba8 100644 (file)
@@ -65,10 +65,10 @@ const config = {
   colors: true,
   autoWatch: false,
   singleRun: true,
-  captureTimeout: 90_000,
+  captureTimeout: 180_000,
   browserDisconnectTolerance: 3,
-  browserDisconnectTimeout: 90_000,
-  browserNoActivityTimeout: 90_000,
+  browserDisconnectTimeout: 180_000,
+  browserNoActivityTimeout: 180_000,
   concurrency: Number.POSITIVE_INFINITY,
   client: {
     clearContext: false
index 4e40ee7a9629cff3610b32a4ed23fcb1077033b5..ecdcfe2e7c6082d17b8669e040259a9c2a495065 100644 (file)
@@ -72,7 +72,8 @@
     "js-test-integration-bundle": "rollup --config js/tests/integration/rollup.bundle.js",
     "js-test-integration-modularity": "rollup --config js/tests/integration/rollup.bundle-modularity.js",
     "js-test-cloud": "cross-env BROWSERSTACK=true npm run js-test-karma",
-    "js-test-ltcloud": "cross-env LAMBDATEST=true npm-run-all --parallel --race js-test-ltTunnel js-test-karma",
+    "js-test-ltcloud": "cross-env LAMBDATEST=true npm-run-all --parallel --race js-test-ltLocal js-test-karma",
+    "js-test-ltLocal": "npm-run-all js-test-ltTunnel sleep",
     "js-test-ltTunnel": "node js/tests/lt-local",
     "js-test-jquery": "cross-env JQUERY=true npm run js-test-karma",
     "lint": "npm-run-all --aggregate-output --continue-on-error --parallel js-lint css-lint lockfile-lint",
     "watch-css-docs": "nodemon --watch site/assets/scss/ --ext scss --exec \"npm run css-lint\"",
     "watch-css-test": "nodemon --watch scss/ --ext scss,js --exec \"npm run css-test\"",
     "watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm-run-all js-lint js-compile\"",
-    "watch-js-docs": "nodemon --watch site/assets/js/ --ext js --exec \"npm run js-lint\""
+    "watch-js-docs": "nodemon --watch site/assets/js/ --ext js --exec \"npm run js-lint\"",
+    "sleep": "sleep 5"
   },
   "peerDependencies": {
     "@popperjs/core": "^2.11.8"