mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 17:14:04 +02:00
Fixes to increase stability (#38511)
Co-authored-by: Akshat Rustagi <akshatr@lambdatest.com>
This commit is contained in:
@@ -125,25 +125,25 @@ const browsers = {
|
|||||||
platformName: 'Windows 10'
|
platformName: 'Windows 10'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
iphone11: {
|
ios15: {
|
||||||
platformName: 'ios',
|
platformName: 'ios',
|
||||||
platformVersion: '15',
|
platformVersion: '15',
|
||||||
browserName: 'Safari',
|
browserName: 'Safari',
|
||||||
deviceName: 'iPhone 13',
|
deviceName: 'iPhone.*',
|
||||||
isRealMobile: true
|
isRealMobile: true
|
||||||
},
|
},
|
||||||
iphone14: {
|
ios16: {
|
||||||
platformName: 'ios',
|
platformName: 'ios',
|
||||||
platformVersion: '16',
|
platformVersion: '16',
|
||||||
browserName: 'Safari',
|
browserName: 'Safari',
|
||||||
deviceName: 'iPhone 14',
|
deviceName: 'iPhone.*',
|
||||||
isRealMobile: true
|
isRealMobile: true
|
||||||
},
|
},
|
||||||
pixel6: {
|
android12: {
|
||||||
platformName: 'android',
|
platformName: 'android',
|
||||||
platformVersion: '12',
|
platformVersion: '12',
|
||||||
browserName: 'Chrome',
|
browserName: 'Chrome',
|
||||||
deviceName: 'Pixel 6',
|
deviceName: 'Pixel.*',
|
||||||
isRealMobile: true
|
isRealMobile: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -69,12 +69,13 @@ const config = {
|
|||||||
captureTimeout: 180_000,
|
captureTimeout: 180_000,
|
||||||
browserDisconnectTolerance: 3,
|
browserDisconnectTolerance: 3,
|
||||||
browserDisconnectTimeout: 180_000,
|
browserDisconnectTimeout: 180_000,
|
||||||
browserNoActivityTimeout: 180_000,
|
browserNoActivityTimeout: 400_000,
|
||||||
|
retryLimit: 3,
|
||||||
concurrency: 5,
|
concurrency: 5,
|
||||||
client: {
|
client: {
|
||||||
clearContext: false,
|
clearContext: false,
|
||||||
jasmine: {
|
jasmine: {
|
||||||
timeoutInterval: 20_000
|
timeoutInterval: 180_000
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
files: [
|
files: [
|
||||||
@@ -119,6 +120,7 @@ const config = {
|
|||||||
|
|
||||||
if (LAMBDATEST) {
|
if (LAMBDATEST) {
|
||||||
config.hostname = 'localhost.lambdatest.com'
|
config.hostname = 'localhost.lambdatest.com'
|
||||||
|
config.captureTimeout = 600_000
|
||||||
|
|
||||||
for (const key of Object.keys(browsers.lambdaTest)) {
|
for (const key of Object.keys(browsers.lambdaTest)) {
|
||||||
browsers.lambdaTest[key].base = 'WebDriver'
|
browsers.lambdaTest[key].base = 'WebDriver'
|
||||||
@@ -144,8 +146,6 @@ if (LAMBDATEST) {
|
|||||||
browsers.lambdaTest[key]['LT:Options'].tunnelName = ENV.LT_TUNNEL_NAME || 'jasmine'
|
browsers.lambdaTest[key]['LT:Options'].tunnelName = ENV.LT_TUNNEL_NAME || 'jasmine'
|
||||||
browsers.lambdaTest[key]['LT:Options'].pseudoActivityInterval = 5000 // 5000 ms heartbeat
|
browsers.lambdaTest[key]['LT:Options'].pseudoActivityInterval = 5000 // 5000 ms heartbeat
|
||||||
}
|
}
|
||||||
|
|
||||||
browsers.lambdaTest[key].retryLimit = 3
|
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins.push('karma-webdriver-launcher', 'karma-jasmine-html-reporter')
|
plugins.push('karma-webdriver-launcher', 'karma-jasmine-html-reporter')
|
||||||
@@ -158,8 +158,7 @@ if (LAMBDATEST) {
|
|||||||
username: ENV.BROWSER_STACK_USERNAME,
|
username: ENV.BROWSER_STACK_USERNAME,
|
||||||
accessKey: ENV.BROWSER_STACK_ACCESS_KEY,
|
accessKey: ENV.BROWSER_STACK_ACCESS_KEY,
|
||||||
build: `bootstrap-${ENV.GITHUB_SHA ? `${ENV.GITHUB_SHA.slice(0, 7)}-` : ''}${new Date().toISOString()}`,
|
build: `bootstrap-${ENV.GITHUB_SHA ? `${ENV.GITHUB_SHA.slice(0, 7)}-` : ''}${new Date().toISOString()}`,
|
||||||
project: 'Bootstrap',
|
project: 'Bootstrap'
|
||||||
retryLimit: 3
|
|
||||||
}
|
}
|
||||||
plugins.push('karma-browserstack-launcher', 'karma-jasmine-html-reporter')
|
plugins.push('karma-browserstack-launcher', 'karma-jasmine-html-reporter')
|
||||||
config.customLaunchers = browsers.browserStack
|
config.customLaunchers = browsers.browserStack
|
||||||
|
Reference in New Issue
Block a user