mirror of
https://github.com/CorentinTh/it-tools.git
synced 2024-09-11 13:37:53 +03:00
Compare commits
2 Commits
78796e79f1
...
d16a2483c1
Author | SHA1 | Date | |
---|---|---|---|
|
d16a2483c1 | ||
|
48df524f85 |
@ -18,6 +18,10 @@ test.describe('IT Tool', () => {
|
||||
const errors: Array<Error> = [];
|
||||
|
||||
page.on('pageerror', (error) => {
|
||||
// ignore errors related to physical devices (ie camera recorder)
|
||||
if (error.message.match(/Requested device not found/)) {
|
||||
return;
|
||||
}
|
||||
errors.push(error);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user