playframework/play — pull request #460 by schleichardt (2012-02-16 12:47:33+00:00)
Title: [#1433] Fix Selenium tests use correct port with play test --http.port=a...

Selenium tests and the TestRunnerPlugin grab the http port from Play.configuration.
Play.configuration does not store the http port from the command line.
So Selenium tests does not work if you change the port in the command line:
play test --deps --http.port=9016

Even the application shows the wrong port at startup:
~ Go to http://localhost:9000/@tests to run the tests

I introduced code to store the http port from the command line in Play.configuration.
So Selenium tests are runnable and [#1347] on https://play.lighthouseapp.com/projects/57987/tickets/1347-play-autotest-does-not-read-httpport will also be fixed. Which is important on Continuous Integration Servers.