mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 19:47:54 +00:00
Add Browserstack for IE11 testing (#6557)
* add browserstack * check for data before removing root token * fix root prefix and select by attributes for ie11 * use objectAt for ie11 * use blobs instead of files for ie11 * manually round cirucmference for ie11 * skip csp test on ie11 * skip tests in ie11 * include polyfill for CI * remove on exit hooks * update which browserstack tests are run * remove ie check since we are not running these tests in ie * remove ie check since we are not running these tests in ie
This commit is contained in:
92
ui/testem.browserstack.js
Normal file
92
ui/testem.browserstack.js
Normal file
@@ -0,0 +1,92 @@
|
||||
/* 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',
|
||||
'10',
|
||||
'--b',
|
||||
'ie',
|
||||
'--bv',
|
||||
'11.0',
|
||||
'-t',
|
||||
'1200',
|
||||
'--u',
|
||||
'<url>&legacy=true',
|
||||
],
|
||||
protocol: 'browser',
|
||||
},
|
||||
},
|
||||
launch_in_dev: [],
|
||||
launch_in_ci: ['BS_IE_11'],
|
||||
proxies: {
|
||||
'/v1': {
|
||||
target: 'http://localhost:9200',
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user