Skip to content
Snippets Groups Projects
Commit 6c5c8263 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

karma: set CHROMIUM_BIN, not CHROME_BIN

karma is looking for the chromium exedcutable, but the playwright one is still
called "chrome". I didn't noticed this because it would fall back to the debian install
chromium instance then.
parent 59384a3d
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
......@@ -2,7 +2,7 @@ module.exports = async function(config) {
const { installBrowsersForNpmInstall, registry } = require('playwright-core/lib/server');
await installBrowsersForNpmInstall(["firefox", "chromium"]);
process.env.FIREFOX_BIN = registry.findExecutable("firefox").executablePath();
process.env.CHROME_BIN = registry.findExecutable("chromium").executablePath();
process.env.CHROMIUM_BIN = registry.findExecutable("chromium").executablePath();
config.set({
basePath: 'dist',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment