Skip to content

Commit 445ae1e

Browse files
authored
Migrate form PhantomJS to Chrome to fix UI test crash in Ubuntu (#829)
1 parent 61283c5 commit 445ae1e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

openam-ui/openam-ui-ria/karma.conf.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,17 @@ module.exports = function (config) {
3434
colors: true,
3535
logLevel: config.LOG_INFO,
3636
autoWatch: true,
37-
browsers: ["PhantomJS"],
37+
browsers: ["chromeNoSandbox"],
38+
customLaunchers: {
39+
chromeNoSandbox: {
40+
base: "Chrome",
41+
flags: ["--headless=new",
42+
"--allow-file-access-from-files",
43+
"--disable-dev-shm-usage",
44+
"--no-sandbox",
45+
"--disable-setuid-sandbox"]
46+
}
47+
},
3848
singleRun: false
3949
});
4050
};

0 commit comments

Comments
 (0)