private void waitForQuickOutlineOpened() {
    (new WebDriverWait(IDE.driver(), 30))
        .until(
            new ExpectedCondition<Boolean>() {

              @Override
              public Boolean apply(WebDriver d) {
                return d.findElement(By.id(QUICK_OUTLINE_PANEL)) != null;
              }
            });
  }
  private void waitForQuickOutlineClosed() {
    (new WebDriverWait(IDE.driver(), 30))
        .until(
            new ExpectedCondition<Boolean>() {

              @Override
              public Boolean apply(WebDriver d) {
                try {
                  driver.findElement(By.id(QUICK_OUTLINE_PANEL));
                  return false;
                } catch (NoSuchElementException e) {
                  return true;
                }
              }
            });
  }
 /** @param name */
 private void assertElementPresent(String name) {
   assertNotNull(
       IDE.driver()
           .findElement(
               By.xpath("//div[@id='ideQuickOutlineTree']//span[text()='" + name + "']")));
 }