updated karma
Some checks failed
gitea_dndsources/schedulord-frontend/pipeline/head There was a failure building this commit
Some checks failed
gitea_dndsources/schedulord-frontend/pipeline/head There was a failure building this commit
This commit is contained in:
parent
bd1c5a8ad4
commit
6efe6970d8
@ -37,8 +37,46 @@ module.exports = function (config) {
|
|||||||
colors: true,
|
colors: true,
|
||||||
logLevel: config.LOG_INFO,
|
logLevel: config.LOG_INFO,
|
||||||
autoWatch: true,
|
autoWatch: true,
|
||||||
browsers: ['Chrome'],
|
// browsers: ['Chrome'],
|
||||||
|
// singleRun: false,
|
||||||
|
// Start custom code
|
||||||
|
browsers:[
|
||||||
|
"ChromeHeadlessNoSandbox"
|
||||||
|
],
|
||||||
|
customLaunchers:{
|
||||||
|
ChromeHeadlessNoSandbox:{
|
||||||
|
base:"ChromeHeadless",
|
||||||
|
flags:[
|
||||||
|
"--no-sandbox",
|
||||||
|
// required to run without privileges in Docker
|
||||||
|
"--disable-web-security",
|
||||||
|
"--disable-gpu",
|
||||||
|
"--remote-debugging-port=9222"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
singleRun:false,
|
singleRun:false,
|
||||||
restartOnFileChange: true
|
junitReporter:{
|
||||||
|
outputDir:'test-reports',
|
||||||
|
// results will be saved as $outputDir/$browserName.xml
|
||||||
|
outputFile:'junit-report.xml',
|
||||||
|
// if included,
|
||||||
|
results will be saved as $outputDir/$browserName/$outputFile
|
||||||
|
suite:'',
|
||||||
|
// suite will become the package name attribute in xml testsuite element
|
||||||
|
useBrowserName:false,
|
||||||
|
// add browser name to report and classes names
|
||||||
|
nameFormatter:undefined,
|
||||||
|
// function (browser,
|
||||||
|
result) to customize the name attribute in xml testcase element
|
||||||
|
classNameFormatter:undefined,
|
||||||
|
// function (browser,
|
||||||
|
result) to customize the classname attribute in xml testcase element
|
||||||
|
properties:{
|
||||||
|
} // key value pair of properties to add to the section of the report
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
//end Custom Code
|
||||||
|
// restartOnFileChange: true
|
||||||
|
// });
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user