1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +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:
Thomas Huang 2021-11-25 05:47:33 -06:00 committed by GitHub
parent 02177c4575
commit 1792a1e787
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(