summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPeter 'Pita' Martischka <petermartischka@googlemail.com>2012-11-03 18:09:58 +0000
committerPeter 'Pita' Martischka <petermartischka@googlemail.com>2012-11-03 18:09:58 +0000
commit08a2d28a99729a82b08c9790aad721f1be9ef6ba (patch)
tree20ec25c142ab2f87caef14a2e05c0e1a81399d7b /tests
parent801ed8646b748e1ef9c2b844d749965e68fdd8b2 (diff)
downloadetherpad-lite-08a2d28a99729a82b08c9790aad721f1be9ef6ba.zip
build sauce url after session got initalized
Diffstat (limited to 'tests')
-rw-r--r--tests/frontend/travis/remote_runner.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/frontend/travis/remote_runner.js b/tests/frontend/travis/remote_runner.js
index 88c2d6ad..a4f1dac1 100644
--- a/tests/frontend/travis/remote_runner.js
+++ b/tests/frontend/travis/remote_runner.js
@@ -18,10 +18,11 @@ var sauceTestWorker = async.queue(function (testSettings, callback) {
testSettings.name = name;
testSettings["public"] = true;
testSettings["build"] = process.env.GIT_HASH;
- 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(){
+ var url = "https://saucelabs.com/jobs/" + browser.sessionID;
+ console.log("Remote sauce test '" + name + "' started! " + url);
+
//tear down the test excecution
var stopSauce = function(success){
getStatusInterval && clearInterval(getStatusInterval);