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
|
|
|
},
|
|
|
|
"assertionTimeout": 10000,
|
2021-12-01 14:29:51 +01:00
|
|
|
"selectorTimeout": 40000,
|
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
|
|
|
}
|