sendMessage(text) {
		this.setTextToInput(text);
		this.sendBtn.click();
		cy.get('.message:last-child .body').should('be.visible');
		cy.get('.message:last-child .body').should('contain', text);
	}
// Sends a message and wait for the message to equal the text sent
Sends a message and wait for the message to equal the text sent
Sends a message and wait for the message to equal the text sent
sendMessage(text) {
		this.setTextToInput(text);
		this.sendBtn.click();
		cy.get('.message:last-child .body').should('be.visible');
		cy.get('.message:last-child .body').should('contain', text);
	}
sendMessage ( text ) { this . setTextToInput ( text ) ; this . sendBtn . click ( ) ; cy . get ( '.message:last-child .body' ) . should ( 'be.visible' ) ; cy . get ( '.message:last-child .body' ) . should ( 'contain' , text ) ; }
Sends a message and wait for the message to equal the text sent
Sends a message and wait for the message to equal the text sent