nightwatch: waitForElementVisible produces an error while waitForElementPresent produces a failure when reaching timeout

With nightwatch version 1.1.3, a test using waitForElementVisible produces an error when the command reachs a timeout because the element is not there in the page. An equivalent test but using waitForElementPresent produces an assertion failure. This is not equivalent to what was define in previous version of nightwatch 0.9.X as the waitForElementXXX are producing an assertion failure when reaching timeout As such, the browser.currentTest.result is not containing an assertion failure for the test that uses waitForElementVisible

Server version;

Nightwatch 1.1.13 Node 8.16 Chrome driver version : 2.46 Selenium : 3.141.59

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (7 by maintainers)

Commits related to this issue

Most upvoted comments

@jauninb We will address the issue in the next version. Thanks for your patience.