Wait until textarea available

This commit is contained in:
Lee moon soo 2016-11-18 10:01:05 -08:00
parent c507c59b6a
commit 6ff9d44f6c

View file

@ -439,7 +439,7 @@ public class ParagraphActionsIT extends AbstractZeppelinIT {
Actions action = new Actions(driver);
waitForParagraph(1, "READY");
pollingWait(By.xpath(getParagraphXPath(1) + "//textarea"), MAX_PARAGRAPH_TIMEOUT_SEC);
driver.findElement(By.xpath(getParagraphXPath(1) + "//textarea")).sendKeys(Keys.SHIFT + "5");
driver.findElement(By.xpath(getParagraphXPath(1) + "//textarea")).sendKeys("md" + Keys.ENTER);
driver.findElement(By.xpath(getParagraphXPath(1) + "//textarea")).sendKeys(Keys.SHIFT + "3");