aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e/metamask.spec.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-05-22 09:00:22 +0800
committerkumavis <aaron@kumavis.me>2018-05-22 09:00:22 +0800
commit81ff04ec279c5642a5e0a8dbc45724d2b8774850 (patch)
tree95eb54cfa1205221573e6bb6a9ddfff9fd0ebbc7 /test/e2e/metamask.spec.js
parent0b84ceae6831638ea98584a7262287a2d6ec1a8e (diff)
downloadtangerine-wallet-browser-81ff04ec279c5642a5e0a8dbc45724d2b8774850.tar
tangerine-wallet-browser-81ff04ec279c5642a5e0a8dbc45724d2b8774850.tar.gz
tangerine-wallet-browser-81ff04ec279c5642a5e0a8dbc45724d2b8774850.tar.bz2
tangerine-wallet-browser-81ff04ec279c5642a5e0a8dbc45724d2b8774850.tar.lz
tangerine-wallet-browser-81ff04ec279c5642a5e0a8dbc45724d2b8774850.tar.xz
tangerine-wallet-browser-81ff04ec279c5642a5e0a8dbc45724d2b8774850.tar.zst
tangerine-wallet-browser-81ff04ec279c5642a5e0a8dbc45724d2b8774850.zip
test - e2e - ignore favicon 404s
Diffstat (limited to 'test/e2e/metamask.spec.js')
-rw-r--r--test/e2e/metamask.spec.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/e2e/metamask.spec.js b/test/e2e/metamask.spec.js
index 72861adc4..4ce51a91a 100644
--- a/test/e2e/metamask.spec.js
+++ b/test/e2e/metamask.spec.js
@@ -310,7 +310,12 @@ describe('Metamask popup page', function () {
async function checkBrowserForConsoleErrors() {
const ignoredLogTypes = ['WARNING']
- const ignoredErrorMessages = ['Warning: Unknown prop `dataset` on ']
+ const ignoredErrorMessages = [
+ // React throws error warnings on "dataset", but still sets the data-* properties correctly
+ 'Warning: Unknown prop `dataset` on ',
+ // Third-party Favicon 404s show up as errors
+ 'favicon.ico - Failed to load resource: the server responded with a status of 404 (Not Found)',
+ ]
const browserLogs = await driver.manage().logs().get('browser')
const errorEntries = browserLogs.filter(entry => !ignoredLogTypes.includes(entry.level.toString()))
const errorObjects = errorEntries.map(entry => entry.toJSON())