waitForElementPresent or waitForElementNotPresent probably won't work if the element is not showing on the screen by one of display: none, visible: hidden or opacity: 0.
(it should be similar to jasmine-jquery's expecting an element toBeHidden(). )
use
.waitForElementVisibleor.waitForElementNotVisibleto see if it is displayed or hidden