diff --git a/openam-ui/openam-ui-ria/karma.conf.js b/openam-ui/openam-ui-ria/karma.conf.js index b71518594f..a0acc95b64 100644 --- a/openam-ui/openam-ui-ria/karma.conf.js +++ b/openam-ui/openam-ui-ria/karma.conf.js @@ -34,7 +34,17 @@ module.exports = function (config) { colors: true, logLevel: config.LOG_INFO, autoWatch: true, - browsers: ["PhantomJS"], + browsers: ["chromeNoSandbox"], + customLaunchers: { + chromeNoSandbox: { + base: "Chrome", + flags: ["--headless=new", + "--allow-file-access-from-files", + "--disable-dev-shm-usage", + "--no-sandbox", + "--disable-setuid-sandbox"] + } + }, singleRun: false }); };