Skip to content

Commit

Permalink
another test fix for grid
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeis committed Mar 15, 2016
1 parent 37a49ce commit 73b967d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static void setup() throws Exception {
node = GridTestHelper.getRemoteWithoutCapabilities(hub.getUrl(), GridRole.NODE);
node.addBrowser(GridTestHelper.getSelenium1FirefoxCapability(), 1);
node.addBrowser(GridTestHelper.getDefaultBrowserCapability(), 1);
node.setTimeout(5000, 2000);
node.setTimeout(1, 100);
node.setRemoteServer(new SeleniumServer(node.getConfiguration()));
node.startRemoteServer();
node.sendRegistrationRequest();
Expand All @@ -76,7 +76,7 @@ public void webDriverTimesOut() throws InterruptedException, MalformedURLExcepti
DesiredCapabilities caps = GridTestHelper.getDefaultBrowserCapability();
WebDriver driver = new RemoteWebDriver(new URL(hub.getUrl() + "/wd/hub"), caps);
driver.get(url);
assertEquals(driver.getTitle(), "Grid overview");
assertEquals(driver.getTitle(), "Grid Console");
wait.until(new Function<Object, Integer>() {
@Override
public Integer apply(Object input) {
Expand Down

0 comments on commit 73b967d

Please sign in to comment.