Don't log errors extraneously in e2e tests

feature/default_network_editable
Whymarrh Whitby 6 years ago
parent 9f2d074f9e
commit b7946928fd
  1. 1
      test/e2e/beta/helpers.js

@ -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) {

Loading…
Cancel
Save