I would like to know if it is possible to call a protractor test inside another protractor. For exemple :
 it('should go on edit profile', function() {
    browser.get('http://localhost:9100/#/');
    browser.setLocation('profile');
    browser.getCurrentUrl().then(function(actualUrl) {
        if (actualUrl.indexOf("/login") > 0) {
            require('../login/login.js');
            // call test of login.js ???
        }
    });
});
Thanks for yours answers ! :)