tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-2180) SeleniumTestCase assumes that Selenium Server runs on the default port
Date Tue, 05 Nov 2013 00:26:18 GMT

    [ https://issues.apache.org/jira/browse/TAP5-2180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13813455#comment-13813455
] 

Hudson commented on TAP5-2180:
------------------------------

SUCCESS: Integrated in tapestry-trunk-freestyle #1186 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/1186/])
TAP5-2180: SeleniumTestCase assumes that Selenium Server runs on the default port (hlship:
rev c4ecab24fac1f88b971e6b6e0d8319a14c828c39)
* tapestry-test/src/main/java/org/apache/tapestry5/test/SeleniumTestCase.java


> SeleniumTestCase assumes that Selenium Server runs on the default port
> ----------------------------------------------------------------------
>
>                 Key: TAP5-2180
>                 URL: https://issues.apache.org/jira/browse/TAP5-2180
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-test
>    Affects Versions: 5.3.7
>            Reporter: Joachim Sauer
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.4
>
>
> SeleniumTestCase always assumes that the selenium server is running on the default port,
even 'though it can be modified via a system property ("selenium.port").
> When that system property is set (either intentionally or accidentally), then the selenium
server is started correctly, but the command processor fails to connect to it.
> The solution is simple. Replace this statement:
>         CommandProcessor httpCommandProcessor = new HttpCommandProcessor("localhost",
>                 RemoteControlConfiguration.DEFAULT_PORT, browserStartCommand, baseURL);
> with this:
>         CommandProcessor httpCommandProcessor = new HttpCommandProcessor("localhost",
>             seleniumServer.getPort(), browserStartCommand, baseURL);



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message