output sauce test url

pull/1158/merge
Peter 'Pita' Martischka 2012-11-03 17:51:01 +00:00
parent 8d6dbd2bf6
commit 801ed8646b
1 changed files with 3 additions and 2 deletions

View File

@ -18,7 +18,8 @@ var sauceTestWorker = async.queue(function (testSettings, callback) {
testSettings.name = name; testSettings.name = name;
testSettings["public"] = true; testSettings["public"] = true;
testSettings["build"] = process.env.GIT_HASH; testSettings["build"] = process.env.GIT_HASH;
console.log("Remote sauce test '" + name + "' started!"); var url = "https://saucelabs.com/jobs/" + browser.sessionID;
console.log("Remote sauce test '" + name + "' started! " + url);
browserChain.init(testSettings).get("http://localhost:9001/tests/frontend/", function(){ browserChain.init(testSettings).get("http://localhost:9001/tests/frontend/", function(){
//tear down the test excecution //tear down the test excecution
@ -39,7 +40,7 @@ var sauceTestWorker = async.queue(function (testSettings, callback) {
}).join("\n"); }).join("\n");
console.log(testResult); console.log(testResult);
console.log("Remote sauce test '" + name + "' finished!"); console.log("Remote sauce test '" + name + "' finished! " + url);
callback(); callback();
} }