Skip to content

Commit

Permalink
Fix Chrome start in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
chgeo committed Jan 14, 2025
1 parent 9feb09b commit 09f6cca
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion app/.karma/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@ module.exports = async (config) => {
},
plugins: [...config.plugins, await capMiddleware],
middleware: ["cap-proxy"],
browsers: config.ci ? ["ChromeHeadless"] : ["Chrome"],
browsers: config.ci ? ["ChromeHeadlessNoSandbox"] : ["Chrome"],
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
},
singleRun: config.ci || config.singleRun || false
});
};

0 comments on commit 09f6cca

Please sign in to comment.