LionsAd / drupal_ti

Drupal - Travis Integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DRUPAL_TI_BEHAT_SELENIUM version can't be set with a 3-part version number

dsnopek opened this issue · comments

Currently, the latest version of Selenium is 2.48.2. However, if I set DRUPAL_TI_BEHAT_SELENIUM to that value, I get:

--2015-10-13 13:02:17--  http://selenium-release.storage.googleapis.com/2.48.2/selenium-server-standalone-2.48.2.0.jar
Resolving selenium-release.storage.googleapis.com (selenium-release.storage.googleapis.com)... 173.194.206.128, 2607:f8b0:400d:c06::80
Connecting to selenium-release.storage.googleapis.com (selenium-release.storage.googleapis.com)|173.194.206.128|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-10-13 13:02:17 ERROR 404: Not Found.

The correct URL is actually:

http://selenium-release.storage.googleapis.com/2.48/selenium-server-standalone-2.48.2.jar

So, it needs to use the first 2-parts of the version number for the directory bit of the URL, but then the full 3-parts for the filename part.