UIVeri5 takes advantage of Protractor's Jasmine integration and control flow. For more information, see The WebDriver Control Flow.
TODO
// works but is too complicated
someElement.count().then(function (count) {
expect(count).toBeGreaterThan(0);
}
);
// better
expect(someElement.count()).toBeGreaterThan(0);
UIVeri5 can synchronize with UI5 automatically. This means that it will check for unfinished asynchronous work performed by the application before every action and expectation (essentially, before every element location). This stabilizes test execution as the test waits for the application to become responsive before continuing with the next step.