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:
parent
9f2d074f9e
commit
b7946928fd
@ -126,7 +126,6 @@ async function assertElementNotPresent (webdriver, driver, by) {
|
|||||||
try {
|
try {
|
||||||
dataTab = await findElement(driver, by, 4000)
|
dataTab = await findElement(driver, by, 4000)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.log(err)
|
|
||||||
assert(err instanceof webdriver.error.NoSuchElementError || err instanceof webdriver.error.TimeoutError)
|
assert(err instanceof webdriver.error.NoSuchElementError || err instanceof webdriver.error.TimeoutError)
|
||||||
}
|
}
|
||||||
if (dataTab) {
|
if (dataTab) {
|
||||||
|
Loading…
Reference in New Issue
Block a user