2021-11-24 10:58:26 +01:00
|
|
|
const BROWSER = process.env.BROWSER || "chrome --use-fake-ui-for-media-stream --use-fake-device-for-media-stream";
|
2021-11-23 15:42:52 +01:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
"browsers": BROWSER,
|
|
|
|
"hostname": "localhost",
|
|
|
|
"src": "tests/",
|
|
|
|
"screenshots": {
|
|
|
|
"path": "screenshots/",
|
2021-11-24 09:26:54 +01:00
|
|
|
"takeOnFails": true,
|
|
|
|
"thumbnails": false,
|
2021-11-29 18:15:21 +01:00
|
|
|
},
|
2021-12-06 12:04:04 +01:00
|
|
|
"assertionTimeout": 20000,
|
|
|
|
"selectorTimeout": 60000,
|
2021-12-03 09:28:30 +01:00
|
|
|
|
2021-12-03 19:54:34 +01:00
|
|
|
|
|
|
|
"videoPath": "screenshots/videos",
|
|
|
|
"videoOptions": {
|
|
|
|
"failedOnly": true,
|
|
|
|
}
|
2021-12-03 09:28:30 +01:00
|
|
|
/*"skipJsErrors": true,
|
|
|
|
"clientScripts": [ { "content": `
|
|
|
|
window.addEventListener('error', function (e) {
|
|
|
|
if (e instanceof Error && e.message.includes('_jp')) {
|
|
|
|
console.log('Ignoring sockjs related error');
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
throw e;
|
|
|
|
});
|
|
|
|
` } ]*/
|
2021-11-23 15:42:52 +01:00
|
|
|
}
|