Skip to content

Commit

Permalink
Migrate form PhantomJS to Chrome to fix UI test crash in Ubuntu (#829)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximthomas authored Jan 30, 2025
1 parent 61283c5 commit 445ae1e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion openam-ui/openam-ui-ria/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
});
};

0 comments on commit 445ae1e

Please sign in to comment.