How to navigate between 'urls' when testing a hybrid app with Protractor


I’m testing a hybrid app built with Ionic Framework which is based in AngularJS. I use Protractor as end to end test driver.

I’m using browser.get(’/’) when I want to navigate between urls, since I’ve set up protractor’s config with a baseUrl = http://localhost:8100 the result is that I’m not actually testing the built hybrid app package, but the webapp in the local dev server.

I suppose It must be a solution I can’t find.

Thanks in advance.