Sleep 1sec after hitting ENRER

This commit is contained in:
AhyoungRyu 2017-03-21 14:58:51 +09:00
parent 77cc5c9ffb
commit 84f1b2a2dc

View file

@ -300,6 +300,7 @@ public class ParagraphActionsIT extends AbstractZeppelinIT {
// run paragraph manually by pressing ENTER
driver.findElement(By.xpath(xpathToDropdownMenu)).sendKeys(Keys.ENTER);
ZeppelinITUtils.sleep(1000, true);
collector.checkThat("Even if 'RunOnSelectionChange' is set as false, still can run the paragraph by pressing ENTER ",
driver.findElement(By.xpath(xpathToResultText)).getText(),
CoreMatchers.equalTo("My selection is 1"));