You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The assertion will often pass as the browser has not had a chance to render the previous action (which erroneously displays the irrelevant option). Therefore I think shouldNotExist should be run inside a setTimeout 0. This seems to fix the issue in my testing.
The text was updated successfully, but these errors were encountered:
when you are checking that something does not exist:
browser.find('.irrelevant-option').shouldNotExist()
but it is dependent on a previous action making it display in the first place:
The assertion will often pass as the browser has not had a chance to render the previous action (which erroneously displays the irrelevant option). Therefore I think shouldNotExist should be run inside a
setTimeout 0
. This seems to fix the issue in my testing.The text was updated successfully, but these errors were encountered: