I’ve just finished setting up my testing environment with ionic2-boilerplate.
But immediately, I’m facing a fundamental problem. How can I test UI navigations? Say, with the tabs starter app?
In good old days, we have routes, which can be simple as:
beforeEach(function() {
browser.get('/#/home');
});
But they are all gone in Ionic 2. Everything is handled by the new nav controller.
How can I jump right to the contact tab, and how do I know the transition were finished, and all elements are ready to be tested?