waitForLastMessageUserEqualsText(text) {
		browser.waitUntil(function() {
			browser.waitForVisible('.message:last-child .user-card-message:nth-of-type(2)', 5000);
			return browser.getText('.message:last-child .user-card-message:nth-of-type(2)') === text;
		}, 5000);
	}
// Wait for the last message author username to equal the provided text
Wait for the last message author username to equal the provided text
Wait for the last message author username to equal the provided text
waitForLastMessageUserEqualsText(text) {
		browser.waitUntil(function() {
			browser.waitForVisible('.message:last-child .user-card-message:nth-of-type(2)', 5000);
			return browser.getText('.message:last-child .user-card-message:nth-of-type(2)') === text;
		}, 5000);
	}
waitForLastMessageUserEqualsText ( text ) { browser . waitUntil ( function ( ) { browser . waitForVisible ( '.message:last-child .user-card-message:nth-of-type(2)' , 5000 ) ; return browser . getText ( '.message:last-child .user-card-message:nth-of-type(2)' ) === text ; } , 5000 ) ; }
Wait for the last message author username to equal the provided text
Wait for the last message author username to equal the provided text