Commit 896290e9 authored by Konstantin Schulz's avatar Konstantin Schulz
Browse files

disabled sandboxing for headless chrome when performing unit tests via docker

parent a4ab8e4c
Pipeline #10749 failed with stage
in 4 minutes and 32 seconds
{
"name": "mc_frontend",
"version": "1.6.1",
"version": "1.6.2",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts": {
"ng": "ng",
"start": "ng serve --port 8100",
"build": "ng build",
"test": "ng test --code-coverage --watch=false --browsers=ChromeHeadless",
"test": "ng test --code-coverage --watch=false",
"test-debug": "ng test --watch=true --browsers=Chrome",
"lint": "ng lint",
"e2e": "ng e2e"
......
......@@ -28,15 +28,20 @@ module.exports = function (config) {
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome', 'ChromeHeadless'],
browserDisconnectTimeout: 10000,
browserDisconnectTolerance: 3,
browserNoActivityTimeout: 60000,
flags: [
'--disable-web-security',
'--disable-gpu',
'--no-sandbox',
],
browsers: ['ChromeHeadlessNoSandbox'],
// browserDisconnectTimeout: 10000,
// browserDisconnectTolerance: 3,
// browserNoActivityTimeout: 60000,
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: [
'--no-sandbox',
'--disable-gpu',
'--disable-web-security'
]
}
},
singleRun: false
});
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment