open-vault/ui/testem.browserstack.js
Jordan Reimer c3f7bf6940
Remove IE 11 as Build Target (#14757)
* removes ie 11 as build target

* updates browserstack testem config to launch tests in firefox instead of ie 11
2022-03-30 08:42:21 -06:00

93 lines
1.7 KiB
JavaScript

/* eslint-env node */
module.exports = {
framework: 'qunit',
test_page: 'tests/index.html?hidepassed&nolint',
tap_quiet_logs: true,
disable_watching: true,
timeout: 1200,
browser_start_timeout: 2000,
parallel: 4,
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_IE_11: {
exe: 'node_modules/.bin/browserstack-launch',
args: [
'--os',
'Windows',
'--osv',
'8.1',
'--b',
'ie',
'--bv',
'11.0',
'-t',
'1200',
'--u',
'<url>&legacy=true',
],
protocol: 'browser',
},
},
launch_in_dev: [],
launch_in_ci: ['BS_Firefox_Current'],
proxies: {
'/v1': {
target: 'http://localhost:9200',
},
},
};