Improving tests, WIP
This commit is contained in:
parent
9bba6069b4
commit
78ee4009c8
11 changed files with 276 additions and 25 deletions
|
@ -3,7 +3,6 @@ const BROWSER = process.env.BROWSER || "chrome --use-fake-ui-for-media-stream --
|
|||
module.exports = {
|
||||
"browsers": BROWSER,
|
||||
"hostname": "localhost",
|
||||
//"skipJsErrors": true,
|
||||
"src": "tests/",
|
||||
"screenshots": {
|
||||
"path": "screenshots/",
|
||||
|
@ -12,4 +11,15 @@ module.exports = {
|
|||
},
|
||||
"assertionTimeout": 10000,
|
||||
"selectorTimeout": 40000,
|
||||
|
||||
/*"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;
|
||||
});
|
||||
` } ]*/
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue