Github user jinmeiliao commented on a diff in the pull request: https://github.com/apache/incubator-geode/pull/254#discussion_r82066319 --- Diff: geode-pulse/src/test/java/org/apache/geode/tools/pulse/tests/PulseAbstractTest.java --- @@ -166,18 +197,28 @@ public static void setUpServer(String username, String password, String jsonAuth passwordElement.submit(); Thread.sleep(3000); - WebElement userNameOnPulsePage = (new WebDriverWait(driver, 10)) - .until(new ExpectedCondition<WebElement>() { - @Override - public WebElement apply(WebDriver d) { - return d.findElement(By.id("userName")); - } - }); + WebElement userNameOnPulsePage = (new WebDriverWait(driver, 10)).until(new ExpectedCondition<WebElement>() { + @Override + public WebElement apply(WebDriver d) { + return d.findElement(By.id("userName")); + } + }); assertNotNull(userNameOnPulsePage); driver.navigate().refresh(); Thread.sleep(7000); } + private static void setUpWebDriver() { + DesiredCapabilities capabilities = new DesiredCapabilities(); + capabilities.setJavascriptEnabled(true); + capabilities.setCapability("takesScreenshot", true); --- End diff -- Let's not take the screen shots.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---