We discovered that tests written using the isPresent property can "fail" (i.e., not behave as expected) in counterintuitive ways. A test written in the form
will pass whether the boolean comparator is true or false. Upon reflection, this is presumably because of the way that convergences behave: while waiting for a component to appear in the DOM, isPresent will return false, and thus a false comparison will pass. If the component does appear before the timeout, then a true comparison will also pass. Thus this probably is not an actual bug, but it would probably be a good idea to clarify and emphasize this behavior in the documentation. If a developer doesn't fully understand what's going on with the convergences, it's very easy to write meaningless tests using isPresent.