mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix error message shown in assertElementNotPresent e2e helper fn
This commit is contained in:
parent
b7946928fd
commit
08b3f41ecd
@ -128,7 +128,5 @@ async function assertElementNotPresent (webdriver, driver, by) {
|
|||||||
} catch (err) {
|
} catch (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) {
|
assert.ok(!dataTab, 'Found element that should not be present')
|
||||||
assert(false, 'Data tab should not be present')
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user