E2E - Dont error on browser errors

feature/default_network_editable
Thomas 6 years ago
parent 96d789d2cf
commit 9ffed5fd18
  1. 3
      test/e2e/metamask.spec.js

@ -29,7 +29,8 @@ describe('Metamask popup page', function () {
if (errors.length) { if (errors.length) {
const errorReports = errors.map(err => err.message) const errorReports = errors.map(err => err.message)
const errorMessage = `Errors found in browser console:\n${errorReports.join('\n')}` const errorMessage = `Errors found in browser console:\n${errorReports.join('\n')}`
this.test.error(new Error(errorMessage)) console.error(new Error(errorMessage))
} }
} }
// gather extra data if test failed // gather extra data if test failed

Loading…
Cancel
Save