mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
Ignore sentry server errors in e2e tests (#12843)
* Ignore sentry server errors in e2e tests * Update test/e2e/webdriver/driver.js Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: Dan J Miller <danjm.com@gmail.com> Co-authored-by: Mark Stacey <markjstacey@gmail.com>
This commit is contained in:
parent
02177c4575
commit
1792a1e787
@ -359,6 +359,8 @@ class Driver {
|
|||||||
const ignoredErrorMessages = [
|
const ignoredErrorMessages = [
|
||||||
// Third-party Favicon 404s show up as errors
|
// Third-party Favicon 404s show up as errors
|
||||||
'favicon.ico - Failed to load resource: the server responded with a status of 404 (Not Found)',
|
'favicon.ico - Failed to load resource: the server responded with a status of 404 (Not Found)',
|
||||||
|
// Sentry rate limiting
|
||||||
|
'Failed to load resource: the server responded with a status of 429',
|
||||||
];
|
];
|
||||||
const browserLogs = await this.driver.manage().logs().get('browser');
|
const browserLogs = await this.driver.manage().logs().get('browser');
|
||||||
const errorEntries = browserLogs.filter(
|
const errorEntries = browserLogs.filter(
|
||||||
|
Loading…
Reference in New Issue
Block a user