use writeMiniEditor() method instead of 
waitForElementByElement(messageBodyField);
messageBodyField.sendKeys(text);