lib/src/pageObjects/adminUISignin.js
function (config) {
			var _config = objectAssign({}, { user: 'user@test.e2e', password: 'test', wait: true }, config);
			this
				.setValue('@email', _config.user)
				.setValue('@password', _config.password)
				.click('@submitButton');
			if (_config.wait) this.api.page.adminUIApp().waitForHomeScreen();
			return this;
		}
function (config) {
			var _config = objectAssign({}, { user: 'user@test.e2e', password: 'test', wait: true }, config);
			this
				.setValue('@email', _config.user)
				.setValue('@password', _config.password)
				.click('@submitButton');
			if (_config.wait) this.api.page.adminUIApp().waitForHomeScreen();
			return this;
		}
function ( config ) { var _config = objectAssign ( { } , { user : 'user@test.e2e' , password : 'test' , wait : true } , config ) ; this . setValue ( '@email' , _config . user ) . setValue ( '@password' , _config . password ) . click ( '@submitButton' ) ; if ( _config . wait ) this . api . page . adminUIApp ( ) . waitForHomeScreen ( ) ; return this ; }
Signs in to the Admin UI.

@param {Object} config The login info.
@param {string} config.user The login username/email.
@param {string} config.password The login password.
@param {boolean} config.wait Whether to wait for the home screen by default.  Optional, defaults to true.
Signs in to the Admin UI .