You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2013/11/04 23:44:49 UTC

git commit: TAP5-2180: SeleniumTestCase assumes that Selenium Server runs on the default port

Updated Branches:
  refs/heads/master 63e49a702 -> c4ecab24f


TAP5-2180: SeleniumTestCase assumes that Selenium Server runs on the default port


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/c4ecab24
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/c4ecab24
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/c4ecab24

Branch: refs/heads/master
Commit: c4ecab24fac1f88b971e6b6e0d8319a14c828c39
Parents: 63e49a7
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Mon Nov 4 14:44:41 2013 -0800
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Mon Nov 4 14:44:41 2013 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/c4ecab24/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java
----------------------------------------------------------------------
diff --git a/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java b/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java
index 426f02d..e2b6a90 100644
--- a/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java
+++ b/tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java
@@ -18,7 +18,6 @@ import com.thoughtworks.selenium.CommandProcessor;
 import com.thoughtworks.selenium.DefaultSelenium;
 import com.thoughtworks.selenium.HttpCommandProcessor;
 import com.thoughtworks.selenium.Selenium;
-import org.openqa.selenium.server.RemoteControlConfiguration;
 import org.openqa.selenium.server.SeleniumServer;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -205,7 +204,7 @@ public abstract class SeleniumTestCase extends Assert implements Selenium
 
 
         CommandProcessor httpCommandProcessor = new HttpCommandProcessor("localhost",
-                RemoteControlConfiguration.DEFAULT_PORT, browserStartCommand, baseURL);
+                seleniumServer.getPort(), browserStartCommand, baseURL);
 
         final ErrorReporterImpl errorReporter = new ErrorReporterImpl(httpCommandProcessor, testContext);