decide.nolog.cz/testem.browserstack.js
Jeldrik Hanschke 596cd40d2f increase timeout for BrowserStack
This will hopefully fix the issues of failing tests due to timeouts on IE11.
Values are taken from testem configuration used by ember.js for BrowserStack:
https://github.com/emberjs/ember.js/blob/v3.9.1/testem.browserstack.js
2019-04-22 18:33:26 +02:00

129 lines
2.3 KiB
JavaScript

/* eslint-env node */
module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
parallel: 4,
timeout: 1200,
browser_start_timeout: 2000,
browser_disconnect_timeout: 120,
launch_in_ci: [
'BS_IE_11',
'BS_MS_Edge',
'BS_Safari_Current',
],
'launch_in_dev': [
'Chrome'
],
launchers: {
BS_Chrome_Current: {
exe: 'node_modules/.bin/browserstack-launch',
args: [
'--os',
'Windows',
'--osv',
'10',
'--b',
'chrome',
'--bv',
'latest',
'-t',
'1200',
'--u',
'<url>',
],
protocol: 'browser',
},
BS_Firefox_Current: {
exe: 'node_modules/.bin/browserstack-launch',
args: [
'--os',
'Windows',
'--osv',
'10',
'--b',
'firefox',
'--bv',
'latest',
'-t',
'1200',
'--u',
'<url>',
],
protocol: 'browser',
},
BS_Safari_Current: {
exe: 'node_modules/.bin/browserstack-launch',
args: [
'--os',
'OS X',
'--osv',
'Mojave',
'--b',
'safari',
'--bv',
'latest',
'-t',
'1200',
'--u',
'<url>',
],
protocol: 'browser',
},
BS_Safari_Last: {
exe: 'node_modules/.bin/browserstack-launch',
args: [
'--os',
'OS X',
'--osv',
'High Sierra',
'--b',
'safari',
'--bv',
'latest',
'-t',
'1200',
'--u',
'<url>',
],
protocol: 'browser',
},
BS_MS_Edge: {
exe: 'node_modules/.bin/browserstack-launch',
args: [
'--os',
'Windows',
'--osv',
'10',
'--b',
'edge',
'--bv',
'latest',
'-t',
'1200',
'--u',
'<url>',
],
protocol: 'browser',
},
BS_IE_11: {
exe: 'node_modules/.bin/browserstack-launch',
args: [
'--os',
'Windows',
'--osv',
'10',
'--b',
'ie',
'--bv',
'11.0',
'-t',
'1500',
'--u',
'<url>&legacy=true',
],
protocol: 'browser',
},
}
};