diff --git a/ui/packages/consul-ui/testem.js b/ui/packages/consul-ui/testem.js index 3a84839e85..d081beabd6 100644 --- a/ui/packages/consul-ui/testem.js +++ b/ui/packages/consul-ui/testem.js @@ -2,7 +2,8 @@ module.exports = { test_page: 'tests/index.html?hidepassed', disable_watching: true, launch_in_ci: ['Chrome'], - launch_in_dev: ['Chrome'], + launch_in_dev: ['Chrome', 'Firefox', 'Safari'].includes(process.env.TESTEM_AUTOLAUNCH) ? + [process.env.TESTEM_AUTOLAUNCH] : typeof process.env.TESTEM_AUTOLAUNCH === 'undefined' ? ['Chrome'] : [], browser_start_timeout: 120, browser_args: { Chrome: {