partey_workadventure/tests/.testcaferc.js

31 lines
772 B
JavaScript
Raw Normal View History

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";
module.exports = {
"browsers": BROWSER,
"hostname": "localhost",
"src": "tests/",
"screenshots": {
"path": "screenshots/",
"takeOnFails": true,
"thumbnails": false,
},
2021-12-06 12:04:04 +01:00
"assertionTimeout": 20000,
"selectorTimeout": 60000,
2021-12-03 09:28:30 +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;
});
` } ]*/
}