Skip to content

Commit 44beaf2

Browse files
committed
Update webdriver browser versions to test
1 parent d716210 commit 44beaf2

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

tests/selenium.js

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,10 @@
125125
function webdriverStream(test) {
126126
var browser = wd.remote("localhost", 4445, process.env.SAUCE_USERNAME, process.env.SAUCE_ACCESS_KEY);
127127
var browserStream = new Bacon.Bus();
128-
test.capabilities["tunnel-identifier"] = process.env.TRAVIS_JOB_NUMBER;
129-
test.capabilities["name"] = process.env.TRAVIS_COMMIT + " #" + process.env.TRAVIS_BUILD_NUMBER;
128+
if (process.env.TRAVIS_JOB_NUMBER) {
129+
test.capabilities["tunnel-identifier"] = process.env.TRAVIS_JOB_NUMBER;
130+
test.capabilities["name"] = process.env.TRAVIS_COMMIT.substring(0, 10) + " #" + process.env.TRAVIS_BUILD_NUMBER;
131+
}
130132

131133
var resultStream = Bacon.fromNodeCallback(browser, "init", test.capabilities)
132134
.flatMap(Bacon.fromNodeCallback(browser, "setImplicitWaitTimeout", 15000)
@@ -194,7 +196,8 @@
194196
var browsers = [
195197
{
196198
browserName: "chrome",
197-
platform: "Windows 7"
199+
platform: "Windows 7",
200+
version: "34"
198201
},{
199202
browserName: "firefox",
200203
version: "15",
@@ -207,13 +210,22 @@
207210
browserName: "internet explorer",
208211
version: "10",
209212
platform: "Windows 8"
213+
},{
214+
browserName: "internet explorer",
215+
version: "11",
216+
platform: "Windows 8.1"
210217
},{
211218
browserName: "safari",
212219
version: "6",
213220
platform: "OS X 10.8"
221+
},{
222+
browserName: "safari",
223+
platform: "OS X 10.9",
224+
version: "7"
214225
},{
215226
browserName: "chrome",
216-
platform: "OS X 10.8"
227+
platform: "OS X 10.8",
228+
version: "34"
217229
}
218230
];
219231
return Bacon.combineTemplate({

0 commit comments

Comments
 (0)