1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Don't log errors extraneously in e2e tests

This commit is contained in:
Whymarrh Whitby 2018-10-01 12:28:00 -02:30
parent 9f2d074f9e
commit b7946928fd

View File

@ -126,7 +126,6 @@ async function assertElementNotPresent (webdriver, driver, by) {
try {
dataTab = await findElement(driver, by, 4000)
} catch (err) {
console.log(err)
assert(err instanceof webdriver.error.NoSuchElementError || err instanceof webdriver.error.TimeoutError)
}
if (dataTab) {